[Cmake-commits] CMake branch, master, updated. v2.8.3-164-g306427c
KWSys Robot
kwrobot at kitware.com
Wed Dec 8 18:04:19 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, master has been updated
via 306427c079d12116e3ab04666b3048e56b4eff47 (commit)
from 02a8ea2d5b0b41858be8a9e28d41e06af744fd0b (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=306427c079d12116e3ab04666b3048e56b4eff47
commit 306427c079d12116e3ab04666b3048e56b4eff47
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Dec 8 18:00:56 2010 -0500
Commit: Brad King <brad.king at kitware.com>
CommitDate: Wed Dec 8 18:04:10 2010 -0500
KWSys: Remove realpath from SystemTools::GetPath (#10335)
Commit "merge in changes for beos support" (2006-12-04) added a realpath
call for every directory parsed out of a PATH-style environment
variable. No reason was given in the commit message or comments.
The call incorrectly resolves symlinks in referenced paths. Remove it.
If BeOS support really needs it then it can be restored for that
platform with a full explanation.
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 8aa99eb..7638e4a 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -378,9 +378,7 @@ void SystemTools::GetPath(kwsys_stl::vector<kwsys_stl::string>& path, const char
kwsys_stl::string::size_type endpos = pathEnv.find(pathSep, start);
if(endpos != kwsys_stl::string::npos)
{
- kwsys_stl::string convertedPath;
- Realpath(pathEnv.substr(start, endpos-start).c_str(), convertedPath);
- path.push_back(convertedPath);
+ path.push_back(pathEnv.substr(start, endpos-start));
start = endpos+1;
}
else
-----------------------------------------------------------------------
Summary of changes:
Source/kwsys/SystemTools.cxx | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list