* 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.
This commit is contained in:
Christopher Faylor
2005-10-18 15:13:13 +00:00
parent 4116609aca
commit a93b4154f1
3 changed files with 9 additions and 1 deletions

View File

@ -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;