* [BUG] builtins with bad file descriptor can hang the shell
@ 2021-06-10 8:25 Vincent Lefevre
2021-06-10 17:08 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2021-06-10 8:25 UTC (permalink / raw)
To: zsh-workers
The following first 3 commands are OK. The 4th one hangs zsh,
with Ctrl-C and Ctrl-\ having no effect. This happens whether
MULTIOS is set or not.
zira% echo >&- > >(cat -n)
1
zira% echo >&2 > >(cat -n)
1
zira% /bin/echo >&3 > >(cat -n)
zsh: 3: bad file descriptor
zira% echo >&3 > >(cat -n)
zsh: 3: bad file descriptor
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] builtins with bad file descriptor can hang the shell
2021-06-10 8:25 [BUG] builtins with bad file descriptor can hang the shell Vincent Lefevre
@ 2021-06-10 17:08 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2021-06-10 17:08 UTC (permalink / raw)
To: Zsh hackers list
On Thu, Jun 10, 2021 at 1:26 AM Vincent Lefevre <vincent@vinc17.net> wrote:
>
> zira% echo >&3 > >(cat -n)
> zsh: 3: bad file descriptor
I think this ends up being the same bug as workers/42609 (mentioned in
Etc/BUGS).
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-10 17:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-10 8:25 [BUG] builtins with bad file descriptor can hang the shell Vincent Lefevre
2021-06-10 17:08 ` Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).