Bug #3196: Fix Load foo.so syntax.
This commit is contained in:
parent
af211a9bc1
commit
4ebd26f04b
|
@ -963,6 +963,11 @@ LoadModule(const char *module, const char *path, const char **subdirlist,
|
||||||
|
|
||||||
ret->filename = xstrdup(found);
|
ret->filename = xstrdup(found);
|
||||||
|
|
||||||
|
/* drop any explicit suffix from the module name */
|
||||||
|
p = strchr(name, '.');
|
||||||
|
if (p)
|
||||||
|
*p = '\0';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* now check if the special data object <modulename>ModuleData is
|
* now check if the special data object <modulename>ModuleData is
|
||||||
* present.
|
* present.
|
||||||
|
|
Loading…
Reference in New Issue