aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-03-15 21:49:12 +0000
committerChristopher Faylor <me@cgf.cx>2002-03-15 21:49:12 +0000
commitca175377858b9582040d995c4343e8edbdc524e2 (patch)
treeb390950dc9e821a3df08427c48ad0b1d553b73e3 /winsup/cygwin/include
parenteeec2a483539433bd9bee2b74f0cdbf5a5094555 (diff)
downloadnewlib-ca175377858b9582040d995c4343e8edbdc524e2.zip
newlib-ca175377858b9582040d995c4343e8edbdc524e2.tar.gz
newlib-ca175377858b9582040d995c4343e8edbdc524e2.tar.bz2
* pinfo.cc (pinfo::init): Use PID_ALLPIDS flag to control when a redirected
block should be marked as nonexistent. (winpids::add): Use PID_ALLPIDS when looking for all pids. * cygwin.h (PID_ALLPIDS): New enum element.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h
index de3b3d4..38e3cb3 100644
--- a/winsup/cygwin/include/sys/cygwin.h
+++ b/winsup/cygwin/include/sys/cygwin.h
@@ -94,7 +94,7 @@ enum
PID_USETTY = 0x1000, // Setting this enables or disables cygwin's
// tty support. This is inherited by
// all execed or forked processes.
- PID_UNUSED2 = 0x2000, // child has execed
+ PID_ALLPIDS = 0x2000, // child has execed
PID_EXECED = 0x4000, // redirect to original pid info block
PID_NOREDIR = 0x8000, // don't redirect if execed
PID_EXITED = 0x80000000 // Free entry.