ソースを参照

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

Brad King 18 年 前
コミット
07fe611fc6
1 ファイル変更1 行追加1 行削除
  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 == '\\'));
 }
 
 /*--------------------------------------------------------------------------*/