Commit 56c9428c authored by Brad King's avatar Brad King Committed by Kitware Robot
Browse files

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'
parents ca0cd31a b6b493a4
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment