* signal.cc (sleep): Protect with sigframe.

This commit is contained in:
Christopher Faylor 2001-05-22 16:22:36 +00:00
parent e7e956a7db
commit 43a190430b
2 changed files with 5 additions and 0 deletions

View File

@ -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>
* security.cc (get_file_attribute): Don't set errno.

View File

@ -68,6 +68,7 @@ sleep (unsigned int seconds)
int rc;
unsigned start_time;
unsigned int res;
sigframe thisframe (mainthread);
start_time = GetTickCount ();