summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Src/builtin.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9423db185..3d57b8d14 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-02-07  Peter Stephenson  <p.w.stephenson@ntlworld.com>
+
+	* Michael Hwang: 27675: Src/builtin.c: fix crash from error in
+	has builtin.
+
 2010-02-04  Peter Stephenson  <pws@csr.com>
 
 	* 27661: Ben: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo,
@@ -12684,5 +12689,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.4882 $
+* $Revision: 1.4883 $
 *****************************************************
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);