* pinfo.cc (_pinfo::exists): Check for PID_REAPED.

This commit is contained in:
Christopher Faylor 2011-05-05 14:46:14 +00:00
parent 42a668f28a
commit 1395dac1d0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2011-05-05 Christopher Faylor <me.cygwin2011@cgf.cx>
* pinfo.cc (_pinfo::exists): Check for PID_REAPED.
2011-05-05 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return

View File

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