diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 04:36:33 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-02-28 04:36:33 +0000 |
commit | 8b04f597c489d0805f7d9bfa689076ce98b15e6a (patch) | |
tree | 9fece329213123ae5f5550b4580526fc3a830f4e /Src/exec.c | |
parent | 057736f440786917e24e6ff22b05d4dabf86738c (diff) | |
download | zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.tar.gz zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.tar.xz zsh-8b04f597c489d0805f7d9bfa689076ce98b15e6a.zip |
zsh-workers/9889
Diffstat (limited to 'Src/exec.c')
-rw-r--r-- | Src/exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/exec.c b/Src/exec.c index e4d1be03d..fcf00f28e 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -1278,7 +1278,7 @@ untokenize(char *s) } } -/* Open a file for writing redicection */ +/* Open a file for writing redirection */ /**/ static int @@ -2311,8 +2311,8 @@ execcmd(Estate state, int input, int output, int how, int last1) if (xtrerr != stderr) { fil = fileno(xtrerr); fclose(xtrerr); - zclose(fil); xtrerr = stderr; + zclose(fil); } } |