projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reformatted.
[chise/xemacs-chise.git-]
/
src
/
emodules.c
diff --git
a/src/emodules.c
b/src/emodules.c
index
eb03bc8
..
22eda2b
100644
(file)
--- a/
src/emodules.c
+++ b/
src/emodules.c
@@
-79,7
+79,7
@@
XEmacs, and then reload those new or changed modules that are required.
Messages informing you of the progress of the load are displayed unless
the variable `load-modules-quietly' is non-NIL.
*/
Messages informing you of the progress of the load are displayed unless
the variable `load-modules-quietly' is non-NIL.
*/
- (file,name,version))
+ (file, name, version))
{
char *mod, *mname, *mver;
int speccount = specpdl_depth();
{
char *mod, *mname, *mver;
int speccount = specpdl_depth();
@@
-118,7
+118,7
@@
referring to variables inside the module code. However, once you have
requested a module to be unloaded, it will be unloaded from memory as
soon as the last reference to symbols within the module is destroyed.
*/
requested a module to be unloaded, it will be unloaded from memory as
soon as the last reference to symbols within the module is destroyed.
*/
- (file,name,version))
+ (file, name, version))
{
int x;
char *mod, *mname, *mver;
{
int x;
char *mod, *mname, *mver;
@@
-426,6
+426,7
@@
emodules_load(const char *module, const char *modname, const char *modver)
{
emodules_depth--;
dll_close (dlhandle);
{
emodules_depth--;
dll_close (dlhandle);
+ dlhandle = 0; /* Zero this out before module_load_unwind runs */
return;
}
return;
}
@@
-581,7
+582,7
@@
when a dynamic module is loaded.
*/);
/* #### Export this to Lisp */
*/);
/* #### 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;
staticpro (&Vmodule_extensions);
load_modules_quietly = 0;