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:
parent
893d0fe0d1
commit
47bfda0acb
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue