* 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:
@ -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);
|
||||
|
Reference in New Issue
Block a user