Explorar el Código

BUG: Added carrot (^) to characters that need quoting. The solaris shell needs it.

Brad King hace 18 años
padre
commit
07fe611fc6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Source/kwsys/System.c

+ 1 - 1
Source/kwsys/System.c

@@ -71,7 +71,7 @@ static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
   return ((c == '\'') || (c == '`') || (c == ';') || (c == '#') ||
           (c == '&') || (c == '$') || (c == '(') || (c == ')') ||
           (c == '~') || (c == '<') || (c == '>') || (c == '|') ||
-          (c == '*') || (c == '\\'));
+          (c == '*') || (c == '^') || (c == '\\'));
 }
 
 /*--------------------------------------------------------------------------*/