diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 5d3052234..708d34b2e 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Tue May 22 12:20:07 2001 Christopher Faylor + + * signal.cc (sleep): Protect with sigframe. + Tue May 22 17:58:00 2001 Corinna Vinschen * security.cc (get_file_attribute): Don't set errno. diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index bc3746b2d..8b10f416d 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -68,6 +68,7 @@ sleep (unsigned int seconds) int rc; unsigned start_time; unsigned int res; + sigframe thisframe (mainthread); start_time = GetTickCount ();