* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.
This commit is contained in:
parent
25a520c260
commit
0123506d2d
|
@ -1,3 +1,7 @@
|
|||
2012-08-15 Christopher Faylor <me.cygwin2012@cgf.cx>
|
||||
|
||||
* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.
|
||||
|
||||
2012-08-14 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* gmon.c (_mcleanup): Fix scope bug when using gmon_out array.
|
||||
|
|
|
@ -488,7 +488,7 @@ _pinfo::set_ctty (fhandler_termios *fh, int flags)
|
|||
bool __stdcall
|
||||
_pinfo::exists ()
|
||||
{
|
||||
return this && !(process_state & (PID_EXITED | PID_REAPED));
|
||||
return this && !(process_state & (PID_EXITED | PID_REAPED | PID_EXECED));
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
Loading…
Reference in New Issue