zsh-workers
 help / color / mirror / code / Atom feed
* bug with named pipes and process substitution
@ 2015-07-22  0:25 Petros Aggelatos
  2015-07-22  9:09 ` Peter Stephenson
  0 siblings, 1 reply; 14+ messages in thread
From: Petros Aggelatos @ 2015-07-22  0:25 UTC (permalink / raw)
  To: zsh-workers

Hi all,

I encountered a bug when running the following two commands:

mkfifo test_pipe
echo 1 | tee >(cat > test_pipe) | paste - test_pipe

In bash and zsh 5.0.2 it outputs "1 1" and then exits. In zsh 5.0.8
however, it outputs the same thing and hangs forever.

I bisected the repo for the commit that introduced this behaviour and
it was introduced in 3c5732223f65309c6820f15b8519f674bd21185b which
includes the patch from this thread
http://www.zsh.org/mla/workers/2013/msg00569.html

I haven't yet figured out how and what, since I'm not very familiar
with the codebase. I'll try to figure out a patch but if someone can
shed some light on what is going on that would be great.

System info:

$ echo $ZSH_VERSION $ZSH_PATCHLEVEL `uname -mo`
5.0.8 zsh-5.0.8-0-gf0068ed x86_64 GNU/Linux

Best,
Petros


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-08-08 16:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-22  0:25 bug with named pipes and process substitution Petros Aggelatos
2015-07-22  9:09 ` Peter Stephenson
2015-07-22  9:58   ` Peter Stephenson
2015-07-22 10:27     ` Peter Stephenson
2015-07-22 14:45       ` Bart Schaefer
2015-07-23  1:03         ` Mikael Magnusson
2015-07-23  1:46           ` Bart Schaefer
2015-07-23  8:15             ` ChangeLog (was Re: bug with named pipes and process substitution) Kamil Dudka
2015-07-23 22:01               ` Daniel Shahaf
2015-07-23  0:32     ` bug with named pipes and process substitution Petros Aggelatos
2015-07-23  9:01       ` Peter Stephenson
2015-07-27 12:25     ` Jun T.
2015-08-08 11:59     ` m0viefreak
2015-08-08 15:21       ` Jun T.

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).