diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-09-26 15:08:35 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-09-26 15:08:35 +0000 |
commit | 74ff6d6dbed67db63cd05fd6e96ee40dc4be6147 (patch) | |
tree | 9feb6ebb32327641b449ccb2a85506862184af0b | |
parent | 756f8186f25120bfb4c8e2ae9eaf601f329b9660 (diff) | |
download | zsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.tar.gz zsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.tar.xz zsh-74ff6d6dbed67db63cd05fd6e96ee40dc4be6147.zip |
Tweak to STTY fix.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | Src/exec.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0d36679ae..b815fa6fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2000-09-25 Bart Schaefer <schaefer@zsh.org> * 12862: Src/exec.c: Fix STTY parameter to match documentation. + (Plus unposted addition at the end of execcmd() to clear STTYval.) 2000-09-22 Clint Adams <schizo@debian.org> diff --git a/Src/exec.c b/Src/exec.c index 8ac66ede7..4a8aab335 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -2363,6 +2363,9 @@ execcmd(Estate state, int input, int output, int how, int last1) xtrerr = oxtrerr; zclose(fil); } + + zsfree(STTYval); + STTYval = 0; } /* Arrange to have variables restored. */ |