diff options
author | Christopher Faylor <me@cgf.cx> | 2012-08-15 14:11:35 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2012-08-15 14:11:35 +0000 |
commit | 0123506d2df6775cc3251f33f3983cd32103c663 (patch) | |
tree | 30f10cb8b4197994e4bf428f1b8f8194bb5b0076 /winsup/cygwin/pinfo.cc | |
parent | 25a520c260789b5d32f78bb7d550ae3ddf6b4e98 (diff) | |
download | cygnal-0123506d2df6775cc3251f33f3983cd32103c663.tar.gz cygnal-0123506d2df6775cc3251f33f3983cd32103c663.tar.bz2 cygnal-0123506d2df6775cc3251f33f3983cd32103c663.zip |
* 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.cc | 2 |
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 |