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'
This commit is contained in:
Brad King 2014-06-23 10:27:54 -04:00 committed by CMake Topic Stage
commit 56c9428c88
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{