[cmake-commits] king committed System.c 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Oct 23 17:21:01 EDT 2006


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv12760/Source/kwsys

Modified Files:
	System.c 
Log Message:
ENH: Added # character for shell escaping.


Index: System.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/System.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- System.c	4 Oct 2006 22:52:24 -0000	1.4
+++ System.c	23 Oct 2006 21:20:58 -0000	1.5
@@ -59,7 +59,7 @@
 /*--------------------------------------------------------------------------*/
 static int kwsysSystem_Shell__CharNeedsQuotesOnUnix(char c)
 {
-  return ((c == '\'') || (c == '`') || (c == ';') ||
+  return ((c == '\'') || (c == '`') || (c == ';') || (c == '#') ||
           (c == '&') || (c == '$') || (c == '(') || (c == ')'));
 }
 



More information about the Cmake-commits mailing list