mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user