mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Encoding: Fix debug asserts parsing command line options with non-ascii chars.
With MSVC, isspace() will assert with non-ascii characters.
This commit is contained in:
@@ -439,7 +439,7 @@ void cmSystemTools::ParseWindowsCommandLine(const char* command,
|
|||||||
{
|
{
|
||||||
arg.append(backslashes, '\\');
|
arg.append(backslashes, '\\');
|
||||||
backslashes = 0;
|
backslashes = 0;
|
||||||
if(isspace(*c))
|
if(((*c & 0x80) == 0 ) && isspace(*c))
|
||||||
{
|
{
|
||||||
if(in_quotes)
|
if(in_quotes)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user