[cmake-commits] king committed cmLocalGenerator.cxx 1.202 1.203
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Mar 14 12:36:26 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6014
Modified Files:
cmLocalGenerator.cxx
Log Message:
BUG: During relative path conversion if the remote and target paths are the same return the empty string instead of ".".
Index: cmLocalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLocalGenerator.cxx,v
retrieving revision 1.202
retrieving revision 1.203
diff -u -d -r1.202 -r1.203
--- cmLocalGenerator.cxx 13 Mar 2007 15:58:12 -0000 1.202
+++ cmLocalGenerator.cxx 14 Mar 2007 17:36:24 -0000 1.203
@@ -2222,11 +2222,11 @@
return in_remote;
}
- // If the entire path is in common then just return a ".".
+ // If the entire path is in common then just return an empty string.
if(common == remote.size() &&
common == local.size())
{
- return ".";
+ return "";
}
// If the entire path is in common except for a trailing slash then
More information about the Cmake-commits
mailing list