mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-05 23:06:03 +02:00
50162: Fix multios with current-shell "exec" (aka nullexec).
This commit is contained in:
parent
f59025f849
commit
0ccc3c1494
|
@ -1,3 +1,7 @@
|
||||||
|
2022-04-28 Bart Schaefer <schaefer@Macadamia>
|
||||||
|
|
||||||
|
* 50126: Etc/BUGS, Src/exec.c: Fix multios in current-shell "exec"
|
||||||
|
|
||||||
2022-04-26 dana <dana@dana.is>
|
2022-04-26 dana <dana@dana.is>
|
||||||
|
|
||||||
* unposted: Completion/Unix/Command/_getopt: Fix util-linux
|
* unposted: Completion/Unix/Command/_getopt: Fix util-linux
|
||||||
|
|
6
Etc/BUGS
6
Etc/BUGS
|
@ -46,12 +46,6 @@ interactive and the subshell is the foreground job. The USEZLE option is
|
||||||
always turned off in subshells, for reasons lost to history. There is a
|
always turned off in subshells, for reasons lost to history. There is a
|
||||||
related, probably obsolete, vared special case for $TERM set to "emacs".
|
related, probably obsolete, vared special case for $TERM set to "emacs".
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
users/26150: MULTIOS does not work with "exec":
|
|
||||||
|
|
||||||
exec 3>/tmp/test1 3>/tmp/test2
|
|
||||||
|
|
||||||
causes a script to hang.
|
|
||||||
------------------------------------------------------------------------
|
|
||||||
47561: [PATCH v4] vcs_info: choose backend by basedir
|
47561: [PATCH v4] vcs_info: choose backend by basedir
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
39319: () { exit } =(:) doesn't clean up the tempfile
|
39319: () { exit } =(:) doesn't clean up the tempfile
|
||||||
|
|
|
@ -3898,6 +3898,10 @@ execcmd_exec(Estate state, Execcmd_params eparams,
|
||||||
for (i = 0; i < 10; i++)
|
for (i = 0; i < 10; i++)
|
||||||
if (save[i] != -2)
|
if (save[i] != -2)
|
||||||
zclose(save[i]);
|
zclose(save[i]);
|
||||||
|
/*
|
||||||
|
* We're done with this job, no need to wait for it.
|
||||||
|
*/
|
||||||
|
jobtab[thisjob].stat |= STAT_DONE;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
if (isset(XTRACE)) {
|
if (isset(XTRACE)) {
|
||||||
|
|
Loading…
Reference in New Issue