From f6393387ef5f8b9ebb219abb4cb50da06491ba83 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 14 Dec 2003 16:55:24 +0000 Subject: [PATCH] * exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler chain. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/exceptions.cc | 1 + 2 files changed, 6 insertions(+) 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