summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/exceptions.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index d2ada0674..e4a8d3423 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2003-12-14 Christopher Faylor <cgf@redhat.com>
+ * exceptions.cc (ctrl_c_handler): Remove this thread from the signal
+ handler chain.
+
+2003-12-14 Christopher Faylor <cgf@redhat.com>
+
* cygthread.cc (cygthread::stub): Revert previous change and again
subsume cygthread::stub2. Just return from function now since
ExitThread is guaranteed by automatic _threadinfo wrapper. Define as
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