diff options
author | Christopher Faylor <me@cgf.cx> | 2009-06-14 05:38:55 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2009-06-14 05:38:55 +0000 |
commit | 6a712635dd1de131634c5db1cd5b9221a6544ec6 (patch) | |
tree | 2b5b0975af5d2601d1d6e1ef16ff487c03b77715 /winsup/cygwin/sigproc.cc | |
parent | 792c564b27fc4b79f2e2936acc8e09ec3d1e7f39 (diff) | |
download | cygnal-6a712635dd1de131634c5db1cd5b9221a6544ec6.tar.gz cygnal-6a712635dd1de131634c5db1cd5b9221a6544ec6.tar.bz2 cygnal-6a712635dd1de131634c5db1cd5b9221a6544ec6.zip |
* fhandler.cc (fhandler_base::wait_overlapped): Honor nonblocking flag for
writes. Don't reset event handle when we see a ERROR_IO_PENDING.
* sigproc.cc (stopped_or_terminated): Use bool constants for consistency.
* wait.cc (wait4): Remove nonsensical comment.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 34e4c53a4..e21e09feb 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1045,13 +1045,13 @@ stopped_or_terminated (waitq *parent_w, _pinfo *child) might_match = (w->pid == child->pid); if (!might_match) - return 0; + return false; int terminated; if (!((terminated = (child->process_state == PID_EXITED)) || ((w->options & WUNTRACED) && child->stopsig))) - return 0; + return false; parent_w->next = w->next; /* successful wait. remove from wait queue */ w->pid = child->pid; |