diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-06-27 13:56:10 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-06-27 13:56:10 +0000 |
commit | 4d52b7ebe6d424e46cfddf2c6aa6ba704470f6ac (patch) | |
tree | d84ef47a22b39fb8370647c3e9974ea9a7e5b3ec /Src/parse.c | |
parent | 4be5febd94a453c4ed67eb00e43d2107453e6563 (diff) | |
download | zsh-4d52b7ebe6d424e46cfddf2c6aa6ba704470f6ac.tar.gz zsh-4d52b7ebe6d424e46cfddf2c6aa6ba704470f6ac.tar.xz zsh-4d52b7ebe6d424e46cfddf2c6aa6ba704470f6ac.zip |
23670: rationalise some linked list functions
Diffstat (limited to 'Src/parse.c')
-rw-r--r-- | Src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/parse.c b/Src/parse.c index 4fc592075..30f3abe50 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -2933,7 +2933,7 @@ build_cur_dump(char *nam, char *dump, char **names, int match, int map, } for (i = 0; i < shfunctab->hsize; i++) for (hn = shfunctab->nodes[i]; hn; hn = hn->next) - if (!listcontains(lnames, hn->nam) && + if (!linknodebydatum(lnames, hn->nam) && pattry(pprog, hn->nam) && cur_add_func(nam, (Shfunc) hn, lnames, progs, &hlen, &tlen, what)) { |