Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2011-12-09 10:49:10 +0400
committerChristopher Faylor <me@cgf.cx>2011-12-09 10:49:10 +0400
commite35f1d1655d0bf584d8698af2f0303cc87114261 (patch)
tree2e0398a5dbd85edb1c71301125033c22716a3c2f /winsup/cygwin/debug.cc
parent8714982ceffd3775501059563d1cb33d83ea00ef (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.cc3
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)
{