diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-09 10:49:10 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-09 10:49:10 +0400 |
commit | e35f1d1655d0bf584d8698af2f0303cc87114261 (patch) | |
tree | 2e0398a5dbd85edb1c71301125033c22716a3c2f /winsup/cygwin/debug.cc | |
parent | 8714982ceffd3775501059563d1cb33d83ea00ef (diff) |
* sigproc.cc (signal_exit): Revert reversion of 2011-12-04 change since,
otherwise, you see hangs when the signal pipe is closed.
Diffstat (limited to 'winsup/cygwin/debug.cc')
-rw-r--r-- | winsup/cygwin/debug.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc index 6613dd99c..428bd052a 100644 --- a/winsup/cygwin/debug.cc +++ b/winsup/cygwin/debug.cc @@ -221,9 +221,12 @@ close_handle (const char *func, int ln, HANDLE h, const char *name, bool force) lock_debug here; if (!mark_closed (func, ln, h, name, force)) return false; +debug_printf ("here 1"); SetHandleInformation (h, HANDLE_FLAG_PROTECT_FROM_CLOSE, 0); +debug_printf ("here 2"); ret = CloseHandle (h); +debug_printf ("here 3, ret %d", ret); if (!ret) { |