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

@ -323,22 +323,10 @@ bool cmSystemTools::RunSingleCommand(
// Parse a quoted argument. // Parse a quoted argument.
++c; ++c;
while(*c && *c != '"') while(*c && *c != '"')
{
if(*c == '\\')
{
++c;
if(*c)
{ {
arg.append(1, *c); arg.append(1, *c);
++c; ++c;
} }
}
else
{
arg.append(1, *c);
++c;
}
}
if(*c) if(*c)
{ {
++c; ++c;