summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
 }