* 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:
Christopher Faylor
2000-07-16 17:38:41 +00:00
parent 8e382d8049
commit b4e59f5f14
7 changed files with 98 additions and 52 deletions

View File

@@ -313,7 +313,12 @@ quoted (char *cmd, int winshell)
p = cmd + 1;
while (*p)
{
if (*p != quote)
if (*p == '\\' && p[1] == '\\')
{
strcpy (p, p + 1);
p++;
}
else if (*p != quote)
p++;
else if (p[-1] == '\\')
strcpy (p - 1, p);