diff options
author | Christopher Faylor <me@cgf.cx> | 2013-01-19 05:57:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-01-19 05:57:06 +0000 |
commit | d5c977948bb2c66852d7a79a04484aa5c0eecaa4 (patch) | |
tree | 4ebe4eef4dd87d4e4ac58f7e503638cc17e58ff5 /winsup/cygwin/exceptions.cc | |
parent | 5d858e49eb8f6f28c60d2d61e02999fe05753be2 (diff) | |
download | cygnal-d5c977948bb2c66852d7a79a04484aa5c0eecaa4.tar.gz cygnal-d5c977948bb2c66852d7a79a04484aa5c0eecaa4.tar.bz2 cygnal-d5c977948bb2c66852d7a79a04484aa5c0eecaa4.zip |
* exceptions.cc (ctrl_c_handler): Remove special-case handler for
"cygwin_finished_initializing".
* sigproc.cc (exit_thread): Undefine ExitThread earlier to avoid recursion on
error return.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r-- | winsup/cygwin/exceptions.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index c8bf6d2cb..caccb8f53 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -875,14 +875,6 @@ ctrl_c_handler (DWORD type) { static bool saw_close; - if (!cygwin_finished_initializing) - { - if (myself->cygstarted) /* Was this process created by a cygwin process? */ - return TRUE; /* Yes. Let the parent eventually handle CTRL-C issues. */ - debug_printf ("exiting with status %p", STATUS_CONTROL_C_EXIT); - ExitProcess (STATUS_CONTROL_C_EXIT); - } - /* Remove early or we could overthrow the threadlist in cygheap. Deleting this line causes ash to SEGV if CTRL-C is hit repeatedly. I am not exactly sure why that is. Maybe it's just because this |