From 74ff6d6dbed67db63cd05fd6e96ee40dc4be6147 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 26 Sep 2000 15:08:35 +0000 Subject: Tweak to STTY fix. --- ChangeLog | 1 + Src/exec.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 0d36679ae..b815fa6fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2000-09-25 Bart Schaefer * 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 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. */ -- cgit 1.4.1