From d1ef8387d4ad4a161719c588e54b55f23427021f Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 2 Nov 2007 08:54:01 +0000 Subject: [PATCH] This commit was generated by cvs2git to create tag 'V4_1_0a3'. Sprout from BR_Dev_For_4_0 2007-11-02 08:54:00 UTC srn 'Fixed bug in method FindChild' Cherrypick from BR_Dev_For_4_0 2007-11-01 12:49:56 UTC jfa 'Fix pb. with loading of last module (in list).': src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx --- src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx index f4cfd0797..63d117230 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx @@ -132,6 +132,7 @@ SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl(int argc, char** argv, CORBA: // Affect the _general_module_list and _general_path_list members // with the common catalog + cout << "$$$ _general_path = " << _general_path << endl; list dirList; #ifdef WNT @@ -151,6 +152,7 @@ SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl(int argc, char** argv, CORBA: for (list::iterator iter = dirList.begin(); iter != dirList.end(); iter++) { string aPath = (*iter); + cout << "$$$ aPath = " << aPath.c_str() << endl; //remove inverted commas from filename while (aPath.find('\"') != string::npos) aPath.erase(aPath.find('\"'), 1); @@ -160,6 +162,11 @@ SALOME_ModuleCatalogImpl::SALOME_ModuleCatalogImpl(int argc, char** argv, CORBA: _general_path_list); } + for (unsigned int ind = 0; ind < _general_module_list.size(); ind++) { + cout << "$$$ = _general_module_list[" << ind << "] = " + << _general_module_list[ind].name.c_str() << endl; + } + // Verification of _general_path_list content if (!_verify_path_prefix(_general_path_list)) { if(MYDEBUG) MESSAGE( "Error while parsing the general path list, " -- 2.39.2