diff options
author | Christopher Faylor <me@cgf.cx> | 2002-08-19 14:59:27 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-08-19 14:59:27 +0000 |
commit | 3bacc423cf1c295ba2abe7d4a39add6752cac225 (patch) | |
tree | 3ffeec9a89443033f29450ded812f186d84987a3 /winsup/cygwin/sigproc.cc | |
parent | 34f72894755ffb134d011d2a3817931c915ac47e (diff) | |
download | cygnal-3bacc423cf1c295ba2abe7d4a39add6752cac225.tar.gz cygnal-3bacc423cf1c295ba2abe7d4a39add6752cac225.tar.bz2 cygnal-3bacc423cf1c295ba2abe7d4a39add6752cac225.zip |
* pinfo.h (pinfo::remember): Arrange for destructor call if proc_subproc
returns error.
* sigproc.cc (zombies): Store 1 + total zombies since proc_subproc uses
NZOMBIES element.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index b43057e1c..8509ff8c4 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -107,7 +107,7 @@ Static HANDLE events[PSIZE + 1]; // All my children's handles++ #define hchildren (events + 1) // Where the children handles begin Static char cpchildren[PSIZE * sizeof (pinfo)]; // All my children info Static int nchildren; // Number of active children -Static char czombies[NZOMBIES * sizeof (pinfo)]; // All my deceased children info +Static char czombies[(NZOMBIES + 1) * sizeof (pinfo)]; // All my deceased children info Static int nzombies; // Number of deceased children #define pchildren ((pinfo *) cpchildren) |