X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2Femodules.c;h=22eda2b41a0d5b92e247e6315283e51bd29b6bf0;hp=6458319045572f8bbe70844c076293f3cfd554aa;hb=414b512c0774e67ba8e160b605447d862d3be166;hpb=98a6e4055a1fa624c592ac06f79287d55196ca37 diff --git a/src/emodules.c b/src/emodules.c index 6458319..22eda2b 100644 --- a/src/emodules.c +++ b/src/emodules.c @@ -426,6 +426,7 @@ emodules_load(const char *module, const char *modname, const char *modver) { emodules_depth--; dll_close (dlhandle); + dlhandle = 0; /* Zero this out before module_load_unwind runs */ return; } @@ -581,7 +582,7 @@ when a dynamic module is loaded. */); /* #### Export this to Lisp */ - Vmodule_extensions = build_string (":.ell:.so:.dll"); + Vmodule_extensions = build_string (":.ell:.so:.dll:.dylib"); staticpro (&Vmodule_extensions); load_modules_quietly = 0;