* signal.cc (sleep): Protect with sigframe.
This commit is contained in:
parent
e7e956a7db
commit
43a190430b
|
@ -1,3 +1,7 @@
|
||||||
|
Tue May 22 12:20:07 2001 Christopher Faylor <cgf@cygnus.com>
|
||||||
|
|
||||||
|
* signal.cc (sleep): Protect with sigframe.
|
||||||
|
|
||||||
Tue May 22 17:58:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
Tue May 22 17:58:00 2001 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* security.cc (get_file_attribute): Don't set errno.
|
* security.cc (get_file_attribute): Don't set errno.
|
||||||
|
|
|
@ -68,6 +68,7 @@ sleep (unsigned int seconds)
|
||||||
int rc;
|
int rc;
|
||||||
unsigned start_time;
|
unsigned start_time;
|
||||||
unsigned int res;
|
unsigned int res;
|
||||||
|
sigframe thisframe (mainthread);
|
||||||
|
|
||||||
start_time = GetTickCount ();
|
start_time = GetTickCount ();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue