about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/module.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf612582d..715d2ebf7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-07-17  Peter Stephenson  <pws@csr.com>
+
+	* 23682: Src/module.c: missed cases where m->name should
+	be m->node.nam from 23665.
+
 2007-07-13  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 23680: Test/C04funcdef.ztst: tests for 23671.
diff --git a/Src/module.c b/Src/module.c
index 765f7c941..c3785e609 100644
--- a/Src/module.c
+++ b/Src/module.c
@@ -1744,12 +1744,12 @@ module_func(Module m, char *name)
 #ifdef DYNAMIC_NAME_CLASH_OK
     return (Module_generic_func) dlsym(m->u.handle, name);
 #else /* !DYNAMIC_NAME_CLASH_OK */
-    VARARR(char, buf, strlen(name) + strlen(m->nam)*2 + 1);
+    VARARR(char, buf, strlen(name) + strlen(m->node.nam)*2 + 1);
     char const *p;
     char *q;
     strcpy(buf, name);
     q = strchr(buf, 0);
-    for(p = m->nam; *p; p++) {
+    for(p = m->node.nam; *p; p++) {
 	if(*p == '/') {
 	    *q++ = 'Q';
 	    *q++ = 's';