diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-08-04 07:53:25 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-08-04 07:53:25 +0000 |
commit | 8e740b7044b1538b51b1a58f27d92091c1e84a63 (patch) | |
tree | dbfdc43d7a4e2f4620738c29fcae1860848bbbd0 | |
parent | 22cbf1b2719c99c2f17a34859520dbead03e5799 (diff) | |
download | zsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.tar.gz zsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.tar.xz zsh-8e740b7044b1538b51b1a58f27d92091c1e84a63.zip |
remove (wrong) test for linked-in modules in require_module() (12525)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Src/module.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 7e35b2ead..73c9e0543 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-08-04 Sven Wischnowsky <wischnow@zsh.org> + + * 12525: Src/module.c: remove (wrong) test for linked-in modules + in require_module() + 2000-08-04 Bart Schaefer <schaefer@zsh.org> * 12516: Src/compat.c, Src/system.h, Src/Modules/files.c, diff --git a/Src/module.c b/Src/module.c index c9d643aa6..2d8f6ce6f 100644 --- a/Src/module.c +++ b/Src/module.c @@ -778,11 +778,6 @@ require_module(char *nam, char *module, int res, int test) Module m = NULL; LinkNode node; - /* First see if the module is linked in. */ - for (node = firstnode(linkedmodules); node; incnode(node)) { - if (!strcmp((char *) getdata(node), nam)) - return 1; - } node = find_module(module); if (node && (m = ((Module) getdata(node)))->u.handle && !(m->flags & MOD_UNLOAD)) { |