mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-05-12 18:46:16 +02:00
50136: Fix =(nosuchcommand) race/deadlock first reported in workers/42609
This commit is contained in:
parent
15bf8ace16
commit
8181708feb
|
@ -1,5 +1,8 @@
|
|||
2022-04-29 Bart Schaefer <schaefer@zsh.org>
|
||||
|
||||
* 50136: Etc/BUGS, Src/exec.c: Fix =(nosuchcommand) race/deadlock
|
||||
first reported in workers/42609
|
||||
|
||||
* 50134: Src/jobs.c: Tweak process group handling (workers/43409)
|
||||
to avoid creating "unkillable" pipelines that ignore signals
|
||||
|
||||
|
|
2
Etc/BUGS
2
Etc/BUGS
|
@ -30,8 +30,6 @@ the prefix parameter assignments are examined in execute().
|
|||
41203 and others: Make it easier to maintain C modules out of tree.
|
||||
(May require defining a stable API for modules, see 41254)
|
||||
------------------------------------------------------------------------
|
||||
42609: :|: =(hang)
|
||||
------------------------------------------------------------------------
|
||||
44133 debian #924736 (partial patch in 44134) three setopts following ` #`
|
||||
------------------------------------------------------------------------
|
||||
44850 terminal issues with continuation markers
|
||||
|
|
|
@ -4883,13 +4883,9 @@ getoutputfile(char *cmd, char **eptr)
|
|||
child_unblock();
|
||||
return nam;
|
||||
} else if (pid) {
|
||||
int os;
|
||||
|
||||
close(fd);
|
||||
os = jobtab[thisjob].stat;
|
||||
waitforpid(pid, 0);
|
||||
cmdoutval = 0;
|
||||
jobtab[thisjob].stat = os;
|
||||
return nam;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue