about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-08-08 02:38:35 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-08-08 02:38:35 +0000
commit72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782 (patch)
treeef5462b9bd842dabe35f08fa3c799c12cef0bab2
parenta021f6329be43973cf4d9e9248daa915235dda9e (diff)
downloadzsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.gz
zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.tar.xz
zsh-72f4ec6b76ae0a5fdb10483a1c51cc60e0c93782.zip
users/3358: Zero shout when closing SHTTY in subshells.
-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;
     }