* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.

This commit is contained in:
Christopher Faylor 2012-08-15 14:11:35 +00:00
parent 25a520c260
commit 0123506d2d
2 changed files with 5 additions and 1 deletions

View File

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

View File

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