diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-17 07:01:55 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-07-17 07:01:55 +0000 |
commit | 6ad26558025b82fee66ed73c83950438cea6c3a0 (patch) | |
tree | b91e83253cb87aadba03bcd99477f311012336d4 | |
parent | 71f659dc00e304151b321b9249efa014b6faf883 (diff) | |
download | zsh-6ad26558025b82fee66ed73c83950438cea6c3a0.tar.gz zsh-6ad26558025b82fee66ed73c83950438cea6c3a0.tar.xz zsh-6ad26558025b82fee66ed73c83950438cea6c3a0.zip |
23682: module field renaming missed from 23665
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/module.c | 4 |
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'; |