diff options
author | Christopher Faylor <me@cgf.cx> | 2011-05-06 19:13:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-05-06 19:13:22 +0000 |
commit | b66dba56c5f076c992f9dfc0f8f9dae29d1e9500 (patch) | |
tree | 146f0395d6b33ee8f27024d23897898444122a09 /winsup/cygwin/sigproc.cc | |
parent | 57aac4bf26b5f49faac58ac8e8607f5975c41181 (diff) | |
download | cygnal-b66dba56c5f076c992f9dfc0f8f9dae29d1e9500.tar.gz cygnal-b66dba56c5f076c992f9dfc0f8f9dae29d1e9500.tar.bz2 cygnal-b66dba56c5f076c992f9dfc0f8f9dae29d1e9500.zip |
* fhandler.h (fhandler_dev_dsp): Cosmetic change.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Put back
Sleep(10) for tty_master case.
* sigproc.cc (stopped_or_terminated): Don't consider a pid which has been
reaped to be terminated.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 8a6559f55..43655dc4c 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1022,7 +1022,7 @@ stopped_or_terminated (waitq *parent_w, _pinfo *child) int terminated; - if (!((terminated = (child->process_state & (PID_REAPED | PID_EXITED))) + if (!((terminated = (child->process_state == PID_EXITED)) || ((w->options & WCONTINUED) && child->stopsig == SIGCONT) || ((w->options & WUNTRACED) && child->stopsig && child->stopsig != SIGCONT))) return false; |