changeset 806:14089a93af0a

[xemacs-hg @ 2002-04-05 10:52:06 by stephent] fix multiple loading <87u1qqs9pr.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Fri, 05 Apr 2002 10:52:08 +0000
parents e5083672c894
children 7afc267f1c3c
files src/ChangeLog src/emodules.c
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Apr 05 10:37:31 2002 +0000
+++ b/src/ChangeLog	Fri Apr 05 10:52:08 2002 +0000
@@ -1,3 +1,7 @@
+2002-03-06  Jerry James  <james@xemacs.org>
+
+	* emodules.c (emodules_load): Fix multiple loading of same module.
+
 2002-04-05  Stephen J. Turnbull  <stephen@xemacs.org>
 
 	* XEmacs 21.5.6 "bok choi" is released.
--- a/src/emodules.c	Fri Apr 05 10:37:31 2002 +0000
+++ b/src/emodules.c	Fri Apr 05 10:52:08 2002 +0000
@@ -437,6 +437,7 @@
     {
       emodules_depth--;
       dll_close (dlhandle);
+      dlhandle = 0;  /* Zero this out before module_load_unwind runs */
       return;
     }