BUG: Fix kwsysSystem_Shell_GetArgumentForWindows to reset the windows trailing backslash count to zero when a make variable reference is encountered.

This commit is contained in:
Brad King 2008-04-30 10:02:08 -04:00
parent 893d0fe0d1
commit 47bfda0acb
1 changed files with 4 additions and 0 deletions

View File

@ -380,6 +380,10 @@ static char* kwsysSystem_Shell__GetArgument(const char* in, char* out,
*out++ = *c++; *out++ = *c++;
} }
/* The make variable reference eliminates any escaping needed
for preceding backslashes. */
windows_backslashes = 0;
/* Stop if we have reached the end of the string. */ /* Stop if we have reached the end of the string. */
if(!*c) if(!*c)
{ {