dl_sym: entry points are register with their orginal name, so check with this name 19/18719/3
Antoine ELIAS [Mon, 28 Nov 2016 07:59:38 +0000 (08:59 +0100)]
Change-Id: I69381b6e8cb4f54f3e304f3858687273799343d6

scilab/modules/dynamic_link/src/cpp/dynamic_link.cpp

index da17cdc..876fa6e 100644 (file)
@@ -201,7 +201,7 @@ int Sci_dlsym(wchar_t* _pwstEntryPointName, int _iLibID, BOOL _bFortran)
     }
 
     /** entry was previously loaded **/
-    if (ConfigVariable::getEntryPoint(pwstEntryPointName, _iLibID) != NULL)
+    if (ConfigVariable::getEntryPoint(_pwstEntryPointName, _iLibID) != NULL)
     {
         sciprint(_("Entry name %ls.\n"), _pwstEntryPointName);
         FREE(pwstEntryPointName);