* acconfig.h: Add support for NEWVFORK.
* config.h.in: Ditto. * configure.in: Add --enable-vfork option. * configure: Regenerate. * dcrt0.cc (quoted): Detect and fix up quoted backslashes. * sigproc.cc (proc_subproc): Correctly name handle of newly added child process to avoid erroneous debugging messages about closing the wrong handle.
This commit is contained in:
@ -274,7 +274,7 @@ proc_subproc (DWORD what, DWORD val)
|
||||
|
||||
pchildren[nchildren] = vchild;
|
||||
hchildren[nchildren] = vchild->hProcess;
|
||||
ProtectHandle (vchild->hProcess);
|
||||
ProtectHandle1 (vchild->hProcess, childhProc);
|
||||
sip_printf ("added pid %d to wait list, slot %d, winpid %p, handle %p",
|
||||
vchild->pid, nchildren, vchild->dwProcessId,
|
||||
vchild->hProcess);
|
||||
|
Reference in New Issue
Block a user