summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-03-15 10:50:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-03-15 10:50:58 +0000
commit31aaabe1bc1ad32c7761dd8eb626b4efe77b01bb (patch)
treea0b7bd5587e9833d1ef32517576e27e0238d6709
parent323f8ec7416998258ae70a156855e59891ba8a01 (diff)
downloadzsh-31aaabe1bc1ad32c7761dd8eb626b4efe77b01bb.tar.gz
zsh-31aaabe1bc1ad32c7761dd8eb626b4efe77b01bb.tar.xz
zsh-31aaabe1bc1ad32c7761dd8eb626b4efe77b01bb.zip
20978: don't propagate EOF from recursive edits
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/zle_main.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6bf453f52..3b4893476 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-15  Peter Stephenson  <pws@csr.com>
+
+	* 20978: Src/zle_main.c: don't propagate EOFs from recursive
+	edit.
+
 2005-02-28  Philippe Troin  <phil@fifi.org>
 
        * 20886: configure.ac: Use TTOU with trap rather than SIGTTOU.
diff --git a/Src/Zle/zle_main.c b/Src/Zle/zle_main.c
index eec547712..5f2b07672 100644
--- a/Src/Zle/zle_main.c
+++ b/Src/Zle/zle_main.c
@@ -1451,7 +1451,7 @@ recursiveedit(UNUSED(char **args))
     zlecore();
 
     locerror = errflag;
-    errflag = done = 0;
+    errflag = done = eofsent = 0;
 
     return locerror;
 }