From da4181617e10c2f1dd366189fd960dd7b7ad902f Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 6 Dec 2008 14:39:48 +0000 Subject: [PATCH] Use RTLD_LOCAL instead of RTLD_GLOBAL when reading module descriptions This might save some work for the libc and at least I can't see how this would break anything. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1279 726aef4b-f618-498e-8847-2d620e286838 --- Modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules.cpp b/Modules.cpp index adf91722..4cedc042 100644 --- a/Modules.cpp +++ b/Modules.cpp @@ -902,7 +902,7 @@ bool CModules::GetModInfo(CModInfo& ModInfo, const CString& sModule) { return false; } - unsigned int uDLFlags = RTLD_LAZY | RTLD_GLOBAL; + unsigned int uDLFlags = RTLD_LAZY | RTLD_LOCAL; void* p = dlopen((sModPath).c_str(), uDLFlags);