diff options
author | Christopher Faylor <me@cgf.cx> | 2011-12-17 11:01:21 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-12-17 11:01:21 +0400 |
commit | ce3318344c573af96b932b618766aadfffb65cf2 (patch) | |
tree | 0e26016d6c52692d2b0eb3f559c857575678d630 /winsup/cygwin/wait.cc | |
parent | 60cd6a7798d2d8de8d49fd10d7a6ec43183a7c58 (diff) |
* exceptions.cc (set_signal_mask): Remove useless debugging output.
* fhandler.cc (fhandler_base::write): Ditto.
(fhandler_base_overlapped::close): Cancel any ongoing I/O before closing.
* syscalls.cc (write): Default to always reporting all writes in strace output
via syscall_printf.
* wait.cc (wait4): Fix debugging output. Use standard syscall leaver output.
Diffstat (limited to 'winsup/cygwin/wait.cc')
-rw-r--r-- | winsup/cygwin/wait.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index 0d965e1ea..91a76239a 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -81,7 +81,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) res = cancelable_wait (waitfor); - sigproc_printf ("%d = WaitForSingleObject (...)", res); + sigproc_printf ("%d = cancelable_wait (...)", res); if (w->ev == NULL) { @@ -109,10 +109,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r) break; } - sigproc_printf ("intpid %d, status %p, w->status %d, options %d, res %d", - intpid, status, w->status, options, res); + syscall_printf ("%R = wait4(%d, %p, %d, %p)", res, intpid, w->status, options, r); w->status = -1; - if (res < 0) - sigproc_printf ("*** errno %d", get_errno ()); return res; } |