From 2b602ea738f4ed99b67085f3f035f8eb2f43de88 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 27 Aug 2006 13:15:39 -0400 Subject: COMP: Need to use cmsys_stl when in CMake code, not kwsys_stl. --- Source/CPack/cmCPackNSISGenerator.cxx | 2 +- Source/cmFileCommand.cxx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/CPack/cmCPackNSISGenerator.cxx b/Source/CPack/cmCPackNSISGenerator.cxx index bac5d74..8b1c879 100644 --- a/Source/CPack/cmCPackNSISGenerator.cxx +++ b/Source/CPack/cmCPackNSISGenerator.cxx @@ -248,7 +248,7 @@ bool cmCPackNSISGenerator::GetListOfSubdirectories(const char* topdir, if (strcmp(dir.GetFile(static_cast(fileNum)),".") && strcmp(dir.GetFile(static_cast(fileNum)),"..")) { - kwsys_stl::string fullPath = topdir; + cmsys_stl::string fullPath = topdir; fullPath += "/"; fullPath += dir.GetFile(static_cast(fileNum)); if(cmsys::SystemTools::FileIsDirectory(fullPath.c_str()) && diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx index 72cd89c..1b4ad55 100644 --- a/Source/cmFileCommand.cxx +++ b/Source/cmFileCommand.cxx @@ -575,12 +575,12 @@ bool cmFileInstaller::InstallDirectory(const char* source, if(!(strcmp(dir.GetFile(fileNum), ".") == 0 || strcmp(dir.GetFile(fileNum), "..") == 0)) { - kwsys_stl::string fromPath = source; + cmsys_stl::string fromPath = source; fromPath += "/"; fromPath += dir.GetFile(fileNum); if(cmSystemTools::FileIsDirectory(fromPath.c_str())) { - kwsys_stl::string toDir = destination; + cmsys_stl::string toDir = destination; toDir += "/"; toDir += dir.GetFile(fileNum); if(!this->InstallDirectory(fromPath.c_str(), toDir.c_str(), always)) @@ -1336,7 +1336,7 @@ void cmFileCommand::ComputeVersionedName(std::string& name, { #if defined(__APPLE__) std::string ext; - kwsys_stl::string::size_type dot_pos = name.rfind("."); + cmsys_stl::string::size_type dot_pos = name.rfind("."); if(dot_pos != name.npos) { ext = name.substr(dot_pos, name.npos); -- cgit v0.12