From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6336 invoked by alias); 22 Jul 2015 00:25:38 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35847 Received: (qmail 7527 invoked from network); 22 Jul 2015 00:25:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=hoV4zywRtpoMutKE0dNfnO6bfjAjPDJgxz8iKWYwap8=; b=yUF26GRQAVp2lyB598WbzgkgmsyhFigN1L3Rd8QuItRxkmiMmkqrajIn8XlMJXQEMH JhLJinc3RO4Baul2UNWQygvKDJM7jPO4sthPYgnilPlcauZ3oEin55szVWBg4oUrr2IV kNGhdva0uAsWDga2GtCUvbMVD1tlxmVR+oLRuTrpoFessaQ+PsVHuB1MEoldDtLssrem T0kYpj0UkqJd0LWGFrWkAIVlUIzo5YtieHCM1HOuZC5oAcKXgv4nu5gnY1PRRTwMP6IC ZxQf4pQWvm5pgYkuievDNAAP2XeG711IGuQp40zkkKXkfNGPOvQgPuNp1XsIhyVMthiv hkug== X-Received: by 10.55.15.198 with SMTP id 67mr22242865qkp.7.1437524734496; Tue, 21 Jul 2015 17:25:34 -0700 (PDT) MIME-Version: 1.0 From: Petros Aggelatos Date: Tue, 21 Jul 2015 17:25:15 -0700 Message-ID: Subject: bug with named pipes and process substitution To: zsh-workers@zsh.org Content-Type: text/plain; charset=UTF-8 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