diff options
author | Brad King <brad.king@kitware.com> | 2014-06-23 14:27:54 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-06-23 14:27:54 (GMT) |
commit | 56c9428c88ad4057eb359342cf48f5f998e70d9e (patch) | |
tree | d6a28adb203df01b6c2e2367502da312367ebf50 /Source | |
parent | ca0cd31a0f5008700e1a6cbb346eb8087d8f0785 (diff) | |
parent | b6b493a4ed662c638d2bb6c884fb42a5de214009 (diff) | |
download | CMake-56c9428c88ad4057eb359342cf48f5f998e70d9e.zip CMake-56c9428c88ad4057eb359342cf48f5f998e70d9e.tar.gz CMake-56c9428c88ad4057eb359342cf48f5f998e70d9e.tar.bz2 |
Merge topic 'encoding-parse-commandline'
b6b493a4 Encoding: Fix debug asserts parsing command line options with non-ascii chars.
9dc88ee9 Merge topic 'fix-valgrind-in-path'
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 2e417cb..e29e698 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -439,7 +439,7 @@ void cmSystemTools::ParseWindowsCommandLine(const char* command, { arg.append(backslashes, '\\'); backslashes = 0; - if(isspace(*c)) + if(((*c & 0x80) == 0 ) && isspace(*c)) { if(in_quotes) { |