[Cmake-commits] [cmake-commits] king committed System.c 1.15 1.16
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Jul 13 17:35:10 EDT 2009
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv25910/Source/kwsys
Modified Files:
System.c
Log Message:
BUG: Parse escapes in single-quoted unix arguments
This fixes KWSys's unix-style command-line parsing to interpret
backslash escapes inside single-quoted strings.
Index: System.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/System.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -C 2 -d -r1.15 -r1.16
*** System.c 13 Jul 2009 20:22:14 -0000 1.15
--- System.c 13 Jul 2009 21:35:08 -0000 1.16
***************
*** 710,714 ****
in_escape = 0;
}
! else if(*c == '\\' && !in_single)
{
/* The next character should be escaped. */
--- 710,714 ----
in_escape = 0;
}
! else if(*c == '\\')
{
/* The next character should be escaped. */
More information about the Cmake-commits
mailing list