[cmake-commits] king committed cmSourceFileLocation.cxx 1.1.2.1 1.1.2.2

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jun 13 11:55:35 EDT 2007


Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv16263

Modified Files:
      Tag: CMake-SourceFile2-b
	cmSourceFileLocation.cxx 
Log Message:
BUG: When updating the directory or extension from an unambiguous location we need to mark the new copy as unambiguous too.


Index: cmSourceFileLocation.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/Attic/cmSourceFileLocation.cxx,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- cmSourceFileLocation.cxx	11 Jun 2007 22:23:34 -0000	1.1.2.1
+++ cmSourceFileLocation.cxx	13 Jun 2007 15:55:33 -0000	1.1.2.2
@@ -49,10 +49,12 @@
   if(this->AmbiguousDirectory && !loc.AmbiguousDirectory)
     {
     this->Directory = loc.Directory;
+    this->AmbiguousDirectory = false;
     }
   if(this->AmbiguousExtension && !loc.AmbiguousExtension)
     {
     this->Name = loc.Name;
+    this->AmbiguousExtension = false;
     }
 }
 



More information about the Cmake-commits mailing list