[Cmake-commits] CMake branch, next, updated. v3.0.0-3783-gce0fc37

Clinton Stimpson clinton at elemtech.com
Tue Jun 17 11:27:19 EDT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, next has been updated
       via  ce0fc375226be1602328576c1b3a5ba2671530e5 (commit)
       via  b6b493a4ed662c638d2bb6c884fb42a5de214009 (commit)
      from  58d2a0513d75a02a8013cf9c0d9da518358ff8e1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ce0fc375226be1602328576c1b3a5ba2671530e5
commit ce0fc375226be1602328576c1b3a5ba2671530e5
Merge: 58d2a05 b6b493a
Author:     Clinton Stimpson <clinton at elemtech.com>
AuthorDate: Tue Jun 17 11:27:19 2014 -0400
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Jun 17 11:27:19 2014 -0400

    Merge topic 'encoding-parse-commandline' into next
    
    b6b493a4 Encoding: Fix debug asserts parsing command line options with non-ascii chars.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b6b493a4ed662c638d2bb6c884fb42a5de214009
commit b6b493a4ed662c638d2bb6c884fb42a5de214009
Author:     Clinton Stimpson <clinton at elemtech.com>
AuthorDate: Mon Jun 16 20:25:25 2014 -0600
Commit:     Clinton Stimpson <clinton at elemtech.com>
CommitDate: Tue Jun 17 09:26:42 2014 -0600

    Encoding: Fix debug asserts parsing command line options with non-ascii chars.
    
    With MSVC, isspace() will assert with non-ascii characters.

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

-----------------------------------------------------------------------

Summary of changes:


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list