* pinfo.cc (_pinfo::exists): Check for PID_REAPED.
This commit is contained in:
parent
42a668f28a
commit
1395dac1d0
|
@ -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>
|
2011-05-05 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return
|
* fhandler_disk_file.cc (fhandler_disk_file::pread): Correctly return
|
||||||
|
|
|
@ -428,7 +428,7 @@ _pinfo::set_ctty (tty_min *tc, int flags, fhandler_termios *arch)
|
||||||
bool __stdcall
|
bool __stdcall
|
||||||
_pinfo::exists ()
|
_pinfo::exists ()
|
||||||
{
|
{
|
||||||
return this && !(process_state & PID_EXITED);
|
return this && !(process_state & (PID_EXITED | PID_REAPED));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
|
Loading…
Reference in New Issue