Loading src/plugin/PluginManager.cpp +6 −0 Changes for src/plugin/PluginManager.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,13 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st if (fname.size() < 3 || fname.substr(fname.size() - 3) != ".so") continue; std::string path = dir + "/" + fname; void *handle = ::dlopen(path.c_str(), RTLD_NOW | RTLD_LOCAL); dlerror(); if (!handle) { _errors.push_back(fname + ": " + std::string(::dlerror() ? ::dlerror() : "dlopen failed")); continue; Loading Loading
src/plugin/PluginManager.cpp +6 −0 Changes for src/plugin/PluginManager.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,13 @@ void PluginManager::loadDirectory(const std::string &dir, const std::map<std::st if (fname.size() < 3 || fname.substr(fname.size() - 3) != ".so") continue; std::string path = dir + "/" + fname; void *handle = ::dlopen(path.c_str(), RTLD_NOW | RTLD_LOCAL); dlerror(); if (!handle) { _errors.push_back(fname + ": " + std::string(::dlerror() ? ::dlerror() : "dlopen failed")); continue; Loading