summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 11:55:40 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-04 11:55:40 (GMT)
commit4515c33d3252c886fc6f43d1ea5884ef4256263e (patch)
tree14b116759678923438d8be0dede00aa5f1c8bc43
parentd86d2fdf12208d7dfad78c9606f146541e15edfc (diff)
downloadCMake-4515c33d3252c886fc6f43d1ea5884ef4256263e.zip
CMake-4515c33d3252c886fc6f43d1ea5884ef4256263e.tar.gz
CMake-4515c33d3252c886fc6f43d1ea5884ef4256263e.tar.bz2
ENH: Fix escaping on windows
-rw-r--r--Source/cmSystemTools.cxx16
1 files changed, 2 insertions, 14 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index c3540c0..084c483 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -324,20 +324,8 @@ bool cmSystemTools::RunSingleCommand(
++c;
while(*c && *c != '"')
{
- if(*c == '\\')
- {
- ++c;
- if(*c)
- {
- arg.append(1, *c);
- ++c;
- }
- }
- else
- {
- arg.append(1, *c);
- ++c;
- }
+ arg.append(1, *c);
+ ++c;
}
if(*c)
{