From 1f34959afbf8175c6a9e1a02e7f6a68187c1a5e2 Mon Sep 17 00:00:00 2001 From: David Brodsky Date: Sun, 9 Jul 2006 15:55:45 +0200 Subject: [PATCH] Bugfix when loading module. --- src/core/modulemanager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/modulemanager.cpp b/src/core/modulemanager.cpp index d1de204..c4563e9 100644 --- a/src/core/modulemanager.cpp +++ b/src/core/modulemanager.cpp @@ -105,7 +105,7 @@ const String &ModuleDependencies::getNextLoadableModule() std::list l1; std::list l2; dependList(*it, false, l1); - dependList(*it, true, l1); + dependList(*it, true, l2); int count = l1.size() - l2.size(); // all not loaded modules that the current one depends on if ((count == 0) && !announcedAsLoadable[*it]) { // no dependencies, this module has not been announced yet @@ -376,6 +376,7 @@ void ModuleManager::initialize() /* {{{ ModuleManager::loadModule(const String &) */ void ModuleManager::loadModule(const String &name) { + INFO((const char *) String("Loading module " + name)); String libFilename = deps->paths[name] + "/" + name + ".so"; // check access -- 2.11.4.GIT