From 4515c33d3252c886fc6f43d1ea5884ef4256263e Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 4 Aug 2003 07:55:40 -0400 Subject: [PATCH] ENH: Fix escaping on windows --- Source/cmSystemTools.cxx | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index c3540c0b7..084c483f8 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) {