1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-04 10:41:11 +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);
putchar('\n');
}
return 0;
} else {
for (; *args; args++)
for (node = firstnode(bltinmodules); node; incnode(node))
if (strcmp(*args, (char *) getdata(node)))
return 1;
if (!strcmp(*args, (char *) getdata(node)))
return 0;
}
return 0;
}
/* Otherwise we return 1 -- different from the dynamic version. */
return 1;