summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-02-07 18:49:28 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-02-07 18:49:28 +0000
commit7da34421c15d9b5a2e27c4afaadcb9b28a571bd0 (patch)
treef18e3d06a8f28b393d1300f0245c071ef20c9e30 /Src
parentfdb266d8193a0c472028e6bd7508c678b95daa6e (diff)
downloadzsh-7da34421c15d9b5a2e27c4afaadcb9b28a571bd0.tar.gz
zsh-7da34421c15d9b5a2e27c4afaadcb9b28a571bd0.tar.xz
zsh-7da34421c15d9b5a2e27c4afaadcb9b28a571bd0.zip
27675: Michael Hwang: fix crash in hash builtin
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 1eca82099..2a02c9a96 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3348,7 +3348,6 @@ bin_hash(char *name, char **argv, Options ops, UNUSED(int func))
 				 "invalid character in directory name: %s",
 				 asg->name);
 			returnval = 1;
-			argv++;
 			continue;
 		    } else {
 			Nameddir nd = hn = zshcalloc(sizeof *nd);