diff options
author | Christopher Faylor <me@cgf.cx> | 2007-11-08 17:36:49 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2007-11-08 17:36:49 +0300 |
commit | a3ba550800f861f5bef0079f6bb052a5a9575cc6 (patch) | |
tree | 6c004ba70c764e46fc2da2c62ef85c54d20a41e3 /winsup/cygwin/fhandler.cc | |
parent | 75a1688a39f13c03cae53c7c5cc9deef44a34353 (diff) |
* dllfixdbg: Eliminate extra objcopy step.
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index bc30a396c..a479d1b28 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -1639,6 +1639,7 @@ fhandler_base::wait_overlapped (bool& res, bool writing, DWORD *bytes) switch (WaitForMultipleObjects (n, w4, false, INFINITE)) { case WAIT_OBJECT_0: + debug_printf ("normal read"); if (!bytes || GetOverlappedResult (h, get_overlapped (), bytes, false)) res = 1; @@ -1649,12 +1650,14 @@ fhandler_base::wait_overlapped (bool& res, bool writing, DWORD *bytes) } break; case WAIT_OBJECT_0 + 1: + debug_printf ("got a signal"); CancelIo (h); set_errno (EINTR); res = 0; break; default: err = GetLastError (); + debug_printf ("WFMO error, %E"); goto err; break; } |