about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-04-13 16:01:20 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-04-13 16:01:20 +0000
commit653abd34a9a985b37e5bba9618f37b5ddb1245c7 (patch)
treebfd5e440a3681aba16d0f974f8fe1969581c2773 /Src
parentb1f58eb7664f987eed8ff295eb1938f0aee186bc (diff)
downloadzsh-653abd34a9a985b37e5bba9618f37b5ddb1245c7.tar.gz
zsh-653abd34a9a985b37e5bba9618f37b5ddb1245c7.tar.xz
zsh-653abd34a9a985b37e5bba9618f37b5ddb1245c7.zip
30391: tweak to ignore DISABLED flag in new hash-based arrayuniq()
Diffstat (limited to 'Src')
-rw-r--r--Src/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/params.c b/Src/params.c
index d960c22cf..b18fb90a6 100644
--- a/Src/params.c
+++ b/Src/params.c
@@ -3532,7 +3532,7 @@ arrayuniq(char **x, int freeok)
     }
 
     for (it = x, write_it = x; *it;) {
-	if (! gethashnode(ht, *it)) {
+	if (! gethashnode2(ht, *it)) {
 	    HashNode new_node = zhalloc(sizeof(struct hashnode));
 	    if (!new_node) {
 		/* Oops, out of heap memory, no way to recover */