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:
parent
b204827535
commit
c38dac753b
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue