diff options
author | Christopher Faylor <me@cgf.cx> | 2000-08-26 03:48:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-08-26 03:48:37 +0000 |
commit | fde520bf6c1ac103d1d5904069da92acf14c9fd6 (patch) | |
tree | b9d8ce23faa1aa20818ada40a6eca87cdde4816d /winsup/cygwin/sigproc.cc | |
parent | 3c2c374555e45b55f0fdc6f1c37257bc631cf5ab (diff) | |
download | cygnal-fde520bf6c1ac103d1d5904069da92acf14c9fd6.tar.gz cygnal-fde520bf6c1ac103d1d5904069da92acf14c9fd6.tar.bz2 cygnal-fde520bf6c1ac103d1d5904069da92acf14c9fd6.zip |
* pinfo.h (pinfo): Un-inline release.
* pinfo.cc (pinfo::release): Move here from pinfo.h.
* sigproc.cc (proc_terminate): Remove bogus 'pinfo child' which caused strange
destruction of random regions of memory when destructor was invoked.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 0d573fc98..f9f149851 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -499,13 +499,12 @@ proc_terminate (void) zombies[i]->hProcess = NULL; } zombies[i]->process_state = PID_NOT_IN_USE; /* CGF FIXME - still needed? */ - // zombies[i].release(); // FIXME: this breaks older gccs for some reason + zombies[i].release(); // FIXME: this breaks older gccs for some reason } /* Disassociate my subprocesses */ for (i = 0; i < nchildren; i++) { - pinfo child; /* CGF FIXME */ if (pchildren[i]->process_state == PID_NOT_IN_USE) continue; // Should never happen if (!pchildren[i]->hProcess) @@ -530,7 +529,7 @@ proc_terminate (void) pchildren[i]->process_state |= PID_ORPHANED; } } - // pchildren[i].release (); // FIXME: this breaks older gccs for some reason + pchildren[i].release (); // FIXME: this breaks older gccs for some reason } nchildren = nzombies = 0; |