about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--Src/exec.c1
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index afcda537b..11e6a906b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-08-07  Peter Stephenson  <pws@csr.com>
+
+	* 12555: Fix static linking on cygwin.
+
+2000-08-07  Bart Schaefer  <schaefer@zsh.org>
+
+	* users/3358: Zero shout when closing SHTTY in subshells.
+
 2000-08-05  Bart Schaefer  <schaefer@zsh.org>
 
 	* unposted (Wayne, 12549): Src/system.h: Missing paren.
diff --git a/Src/exec.c b/Src/exec.c
index c9a82f413..cec096d25 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -2503,6 +2503,7 @@ entersubsh(int how, int cl, int fake)
     if (!fake)
 	subsh = 1;
     if (SHTTY != -1) {
+	shout = NULL;
 	zclose(SHTTY);
 	SHTTY = -1;
     }