[Cmake-commits] CMake branch, next, updated. v2.8.3-966-gfee9cdb

Brad King brad.king at kitware.com
Thu Dec 16 18:01:52 EST 2010


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  fee9cdbee3a744de74b589759ab15d1bab6ac92e (commit)
       via  b97760fa5212d34f6bd371bc8841f2bfb5e8b124 (commit)
      from  f566ccaadb92b33589198078ca237d2abf6c3dcc (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=fee9cdbee3a744de74b589759ab15d1bab6ac92e
commit fee9cdbee3a744de74b589759ab15d1bab6ac92e
Merge: f566cca b97760f
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Dec 16 18:01:48 2010 -0500
Commit:     CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Dec 16 18:01:48 2010 -0500

    Merge topic 'remove-GetMaximumFilePathLength-call' into next
    
    b97760f Remove call to SystemTools::GetMaximumFilePathLength


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b97760fa5212d34f6bd371bc8841f2bfb5e8b124
commit b97760fa5212d34f6bd371bc8841f2bfb5e8b124
Author:     Brad King <brad.king at kitware.com>
AuthorDate: Thu Dec 16 17:41:27 2010 -0500
Commit:     Brad King <brad.king at kitware.com>
CommitDate: Thu Dec 16 17:41:27 2010 -0500

    Remove call to SystemTools::GetMaximumFilePathLength
    
    The KWSys SystemTools::GetMaximumFilePathLength method is poorly
    conceived and should not be used.  The cmDepends code honors its own
    MaxPath buffer size.  Just hard-code it.

diff --git a/Source/cmDepends.cxx b/Source/cmDepends.cxx
index 69ff858..19558fa 100644
--- a/Source/cmDepends.cxx
+++ b/Source/cmDepends.cxx
@@ -25,7 +25,7 @@ cmDepends::cmDepends(cmLocalGenerator* lg, const char* targetDir):
   Verbose(false),
   FileComparison(0),
   TargetDirectory(targetDir),
-  MaxPath(cmSystemTools::GetMaximumFilePathLength()),
+  MaxPath(16384),
   Dependee(new char[MaxPath]),
   Depender(new char[MaxPath])
 {

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

Summary of changes:
 Source/cmDepends.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake


More information about the Cmake-commits mailing list