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/spawn.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/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 17c7e5828..269fb7491 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -814,6 +814,7 @@ spawn_guts (const char * prog_arg, const char *const *argv, switch (mode) { case _P_OVERLAY: + myself.hProcess = pi.hProcess; if (!synced && !myself->wr_proc_pipe) { extern bool is_toplevel_proc; |