[cmake-commits] hoffman committed cmGlobalGenerator.cxx 1.172 1.173

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Apr 24 12:30:28 EDT 2007


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

Modified Files:
	cmGlobalGenerator.cxx 
Log Message:
ENH: fix seg fault in ccmake when hitting configure twice


Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -d -r1.172 -r1.173
--- cmGlobalGenerator.cxx	12 Apr 2007 19:46:06 -0000	1.172
+++ cmGlobalGenerator.cxx	24 Apr 2007 16:30:25 -0000	1.173
@@ -623,9 +623,11 @@
     delete this->LocalGenerators[i];
     }
   this->LocalGenerators.clear();
-
+  this->TargetDependencies.clear();
   this->TotalTargets.clear();
-  
+  this->ProjectToTargetMap.clear();
+  this->ProjectMap.clear();
+
   // start with this directory
   cmLocalGenerator *lg = this->CreateLocalGenerator();
   this->LocalGenerators.push_back(lg);



More information about the Cmake-commits mailing list