1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-14 01:51:22 +02:00

zsh-workers/7957

This commit is contained in:
Tanaka Akira 1999-09-21 01:45:10 +00:00
parent b204827535
commit c38dac753b

View file

@ -1181,13 +1181,13 @@ bin_zmodload(char *nam, char **args, char *ops, int func)
nicezputs((char *) getdata(node), stdout); nicezputs((char *) getdata(node), stdout);
putchar('\n'); putchar('\n');
} }
return 0;
} else { } else {
for (; *args; args++) for (; *args; args++)
for (node = firstnode(bltinmodules); node; incnode(node)) for (node = firstnode(bltinmodules); node; incnode(node))
if (strcmp(*args, (char *) getdata(node))) if (!strcmp(*args, (char *) getdata(node)))
return 1; return 0;
} }
return 0;
} }
/* Otherwise we return 1 -- different from the dynamic version. */ /* Otherwise we return 1 -- different from the dynamic version. */
return 1; return 1;