ENH: Fix escaping on windows

This commit is contained in:
Andy Cedilnik 2003-08-04 07:55:40 -04:00
parent d86d2fdf12
commit 4515c33d32
1 changed files with 2 additions and 14 deletions

View File

@ -324,20 +324,8 @@ bool cmSystemTools::RunSingleCommand(
++c; ++c;
while(*c && *c != '"') while(*c && *c != '"')
{ {
if(*c == '\\') arg.append(1, *c);
{ ++c;
++c;
if(*c)
{
arg.append(1, *c);
++c;
}
}
else
{
arg.append(1, *c);
++c;
}
} }
if(*c) if(*c)
{ {