1
0
Fork 0
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:
Tanaka Akira 1999-09-22 12:53:49 +00:00
parent eda0e49696
commit c17448c276
8 changed files with 320 additions and 45 deletions

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;