* 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.
This commit is contained in:
Christopher Faylor
2011-05-06 19:13:22 +00:00
parent 57aac4bf26
commit b66dba56c5
4 changed files with 16 additions and 3 deletions

View File

@ -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;