Преглед на файлове

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

Brad King преди 17 години
родител
ревизия
47bfda0acb
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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)
           {