summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-04-22 13:11:06 (GMT)
committerBrad King <brad.king@kitware.com>2009-04-22 13:11:06 (GMT)
commitefe07c4e0a76868657d617a47cc03797e0a3a93e (patch)
treed694aa914f7ea576f4221e38cedd6fc02bb45d0a /Source/cmSystemTools.cxx
parentb1005a0e5e93f19233e76c52317693bfad53e3a6 (diff)
downloadCMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.zip
CMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.tar.gz
CMake-efe07c4e0a76868657d617a47cc03797e0a3a93e.tar.bz2
COMP: Fix calls to superclass methods for Borland
The superclass of cmSystemTools is cmsys::SystemTools, which should be referencable by just SystemTools from inside the class. Borland C++ does not seem to support this, so we use cmSystemTools instead.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 23da1e3..959d32c 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1101,14 +1101,14 @@ std::string cmSystemTools::FileExistsInParentDirectories(const char* fname,
const char* directory, const char* toplevel)
{
std::string file = fname;
- SystemTools::ConvertToUnixSlashes(file);
+ cmSystemTools::ConvertToUnixSlashes(file);
std::string dir = directory;
- SystemTools::ConvertToUnixSlashes(dir);
+ cmSystemTools::ConvertToUnixSlashes(dir);
std::string prevDir;
while(dir != prevDir)
{
std::string path = dir + "/" + file;
- if ( SystemTools::FileExists(path.c_str()) )
+ if ( cmSystemTools::FileExists(path.c_str()) )
{
return path;
}
@@ -1117,7 +1117,7 @@ std::string cmSystemTools::FileExistsInParentDirectories(const char* fname,
break;
}
prevDir = dir;
- dir = SystemTools::GetParentDirectory(dir.c_str());
+ dir = cmSystemTools::GetParentDirectory(dir.c_str());
}
return "";
}