diff options
author | Christopher Faylor <me@cgf.cx> | 2003-12-14 19:55:24 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-12-14 19:55:24 +0300 |
commit | f6393387ef5f8b9ebb219abb4cb50da06491ba83 (patch) | |
tree | b6c107684065e75ecbe867069d7c9899f9d8e913 /winsup/cygwin | |
parent | c350feda2096e2446bf7cc0b97019eed7386400d (diff) |
* exceptions.cc (ctrl_c_handler): Remove this thread from the signal handler
chain.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/exceptions.cc | 1 |
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 |