[cmake-commits] king committed cmLoadCommandCommand.cxx 1.26 1.27

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Apr 19 11:23:06 EDT 2007


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

Modified Files:
	cmLoadCommandCommand.cxx 
Log Message:
ENH: Removed code unnecessary now that DynamicLoader is implemented better.


Index: cmLoadCommandCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmLoadCommandCommand.cxx,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- cmLoadCommandCommand.cxx	1 Aug 2006 18:31:24 -0000	1.26
+++ cmLoadCommandCommand.cxx	19 Apr 2007 15:23:04 -0000	1.27
@@ -290,14 +290,7 @@
   CM_INIT_FUNCTION initFunction
     = (CM_INIT_FUNCTION)
     cmsys::DynamicLoader::GetSymbolAddress(lib, initFuncName.c_str());
-  if ( !initFunction )
-    {
-    initFuncName = "_";
-    initFuncName += args[0];
-    initFuncName += "Init";
-    initFunction = (CM_INIT_FUNCTION)(
-      cmsys::DynamicLoader::GetSymbolAddress(lib, initFuncName.c_str()));
-    }
+
   // if the symbol is found call it to set the name on the 
   // function blocker
   if(initFunction)



More information about the Cmake-commits mailing list