[cmake-commits] martink committed SystemTools.cxx 1.189 1.190
cmake-commits at cmake.org
cmake-commits at cmake.org
Thu Feb 1 14:43:11 EST 2007
Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv12185/Source/kwsys
Modified Files:
SystemTools.cxx
Log Message:
STYLE: removed code accidently checked in
Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.189
retrieving revision 1.190
diff -u -d -r1.189 -r1.190
--- SystemTools.cxx 1 Feb 2007 19:11:06 -0000 1.189
+++ SystemTools.cxx 1 Feb 2007 19:43:09 -0000 1.190
@@ -2645,21 +2645,8 @@
path_components.begin(),
path_components.end());
- // remove any . components as they do nothing
- kwsys_stl::vector<kwsys_stl::string> clean_components;
- kwsys_stl::vector<kwsys_stl::string>::iterator i =
- out_components.begin();
- for (; i != out_components.end(); ++i)
- {
- if (*i != ".")
- {
- clean_components.push_back(*i);
- }
- }
-
-
// Transform the path back to a string.
- kwsys_stl::string newPath = SystemTools::JoinPath(clean_components);
+ kwsys_stl::string newPath = SystemTools::JoinPath(out_components);
// Update the translation table with this potentially new path. I am not
// sure why this line is here, it seems really questionable, but yet I
More information about the Cmake-commits
mailing list