about summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-03-22 19:51:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-03-22 19:51:17 +0000
commitc5add3e2f5d7f7823206823959ce5f964cc796eb (patch)
tree3b38ad388fd77a4ebd334a0eee99ae1ab81e3244 /Src/Zle
parente3938ae56dbf0aa02d0eda7ece3e0bddc9ad02f4 (diff)
downloadzsh-c5add3e2f5d7f7823206823959ce5f964cc796eb.tar.gz
zsh-c5add3e2f5d7f7823206823959ce5f964cc796eb.tar.xz
zsh-c5add3e2f5d7f7823206823959ce5f964cc796eb.zip
19671: error in zle-line-init caused infinite loop
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index 2ed250e14..38552cef4 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -835,6 +835,7 @@ zleread(char *lp, char *rp, int flags, int context)
 	args[1] = NULL;
 	execzlefunc(initthingy, args);
 	unrefthingy(initthingy);
+	errflag = retflag = 0;
     }
 
     zlecore();