diff options
author | Christopher Faylor <me@cgf.cx> | 2011-05-05 18:46:14 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2011-05-05 18:46:14 +0400 |
commit | 1395dac1d021fa42b0a5de32de91a076d1e6d58a (patch) | |
tree | 8ca3b8effb609c0a5dfc9aa0b2c38688ca768ef1 /winsup/cygwin/pinfo.cc | |
parent | 42a668f28a38a435f358e89aa60b11edbbe12373 (diff) |
* pinfo.cc (_pinfo::exists): Check for PID_REAPED.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index c5309aeb1..4d7bc158d 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -428,7 +428,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_termios *arch) bool __stdcall _pinfo::exists () { - return this && !(process_state & PID_EXITED); + return this && !(process_state & (PID_EXITED | PID_REAPED)); } bool |