diff options
author | Christopher Faylor <me@cgf.cx> | 2005-10-18 15:13:13 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-10-18 15:13:13 +0000 |
commit | a93b4154f1212b54d0658557e914003ea5b06b0e (patch) | |
tree | c5c93569be855ad083099669e5ef9aeb2ca55763 /winsup/cygwin/sigproc.cc | |
parent | 4116609aca73c07ba72a065f55479375948ace28 (diff) | |
download | cygnal-a93b4154f1212b54d0658557e914003ea5b06b0e.tar.gz cygnal-a93b4154f1212b54d0658557e914003ea5b06b0e.tar.bz2 cygnal-a93b4154f1212b54d0658557e914003ea5b06b0e.zip |
* sigproc.cc (child_info::sync): Use correct name when closing to prevent
warnings when DEBUGGING.
* spawn.cc (spawn_guts): Set myself.hProcess to pi.hProcess since this may have
been zeroed by the previous sync.
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 fc8ea9147..86ac20c8b 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -848,7 +848,7 @@ child_info::sync (pid_t pid, HANDLE& hProcess, DWORD howlong) { if (type != _PROC_FORK && x == nsubproc_ready) { - ForceCloseHandle (hProcess); + ForceCloseHandle1 (hProcess, childhProcess); hProcess = NULL; } sigproc_printf ("process %d synchronized, WFMO returned %d", pid, x); |