summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-20 16:26:30 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-08-20 16:30:09 (GMT)
commit7dcbb663157858fe4fc73adce4ad23ffd370bb2e (patch)
tree4af95754ec5b89e2888bdc849038bd8dfc0a52e7 /Source
parent02e2f3e35049f9d09d503bd789e2042b7a2b9e62 (diff)
downloadCMake-7dcbb663157858fe4fc73adce4ad23ffd370bb2e.zip
CMake-7dcbb663157858fe4fc73adce4ad23ffd370bb2e.tar.gz
CMake-7dcbb663157858fe4fc73adce4ad23ffd370bb2e.tar.bz2
KWSys: Remove translation path for "/tmp_mnt/" (#10595)
In SystemTools::ClassInitialize, remove call to AddTranslationPath that was originally put in place to "work around an SGI problem." This code precluded using CMake effectively in valid directories under "/tmp_mnt/"
Diffstat (limited to 'Source')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index c4aff4a..695949a 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -4573,8 +4573,6 @@ void SystemTools::ClassInitialize()
// for windows because drive letters need to be maintained. Also,
// there are not sym-links and mount points on windows anyway.
#if !defined(_WIN32) || defined(__CYGWIN__)
- // Work-around an SGI problem by always adding this mapping:
- SystemTools::AddTranslationPath("/tmp_mnt/", "/");
// The tmp path is frequently a logical path so always keep it:
SystemTools::AddKeepPath("/tmp/");