mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-11-24 14:01:03 +01:00
zsh-workers/7959
This commit is contained in:
parent
eda0e49696
commit
c17448c276
8 changed files with 320 additions and 45 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…
Add table
Add a link
Reference in a new issue