From: Christopher Faylor Date: Sun, 14 Dec 2003 16:55:24 +0000 (+0000) Subject: * exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler X-Git-Tag: csl-arm-2003-q4~17 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=f6393387ef5f8b9ebb219abb4cb50da06491ba83;p=newlib-cygwin.git * exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler chain. --- diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d2ada0674..e4a8d3423 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2003-12-14 Christopher Faylor + + * exceptions.cc (ctrl_c_handler): Remove this thread from the signal + handler chain. + 2003-12-14 Christopher Faylor * cygthread.cc (cygthread::stub): Revert previous change and again diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index a47951936..29323ae7b 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -899,6 +899,7 @@ static BOOL WINAPI ctrl_c_handler (DWORD type) { static bool saw_close; + _my_tls.remove (); /* Return FALSE to prevent an "End task" dialog box from appearing for each Cygwin process window that's open when the computer