Bug #3196: Fix Load foo.so syntax.

This commit is contained in:
Adam Jackson 2005-10-19 22:36:22 +00:00
parent af211a9bc1
commit 4ebd26f04b

View File

@ -963,6 +963,11 @@ LoadModule(const char *module, const char *path, const char **subdirlist,
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
* present.