Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-08-15 18:11:35 +0400
committerChristopher Faylor <me@cgf.cx>2012-08-15 18:11:35 +0400
commit0123506d2df6775cc3251f33f3983cd32103c663 (patch)
tree30f10cb8b4197994e4bf428f1b8f8194bb5b0076 /winsup/cygwin/pinfo.cc
parent25a520c260789b5d32f78bb7d550ae3ddf6b4e98 (diff)
* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index eb4923e9b..d81217a98 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -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