Przeglądaj źródła

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

Brad King 17 lat temu
rodzic
commit
47bfda0acb
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      Source/kwsys/System.c

+ 4 - 0
Source/kwsys/System.c

@@ -380,6 +380,10 @@ static char* kwsysSystem_Shell__GetArgument(const char* in, char* out,
           *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.  */
         if(!*c)
           {