Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] process substitution breaks when nested or traverses a function
- X-seq: zsh-workers 43098
- From: Francisco de Zuviría Allende <franciscodezuviria@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: [BUG] process substitution breaks when nested or traverses a function
- Date: Wed, 27 Jun 2018 06:04:55 -0300
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=oG856OD8avVhIymD8JCphJAkwbogZgygPVzcMLLSPuQ=; b=MfalD2TmsJm9nA4u35uhDk52rRhtusVQ6ng17w1gEJCYWA6Gc8OSgk8TbKx8tw3jpP YiOicF4/zQXmsieepD+0dtygusBizmS1ej8QBYAy0sSPtGXdeRMl7Y8KOLVYRn2r9EAg Uh+FtznxlElPCD/fq1Ce0SByR/mP8bVU6Dz2NjQu3vLkEuzYUoFsPguC6DLOPi63HavA z5PE7f4WF7ZIb1QWbCDrhyHIWjY/zc1pWY5X2N7s/+N1G4P2MrjnhopbDpWapWPEcA8v YlUwwSTTSHUiy4LJu2UMkqA20OpRDfvvyN04AOTJPQ2RMJXTmdtaASjvjATdAPiVM20f dJXA==
- In-reply-to: <20180618092809eucas1p25d5a922904b9ab1df59c532179890f07~5Nw-JdN-j0712507125eucas1p2Z@eucas1p2.samsung.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CA++-COyOYiE_snQeLB_jsDmWAvne9bjS7GWnA28mPNwTeVo0kg@mail.gmail.com> <CGME20180617031440epcas4p487417cc26e9f504039827d22fa9e5891@epcas4p4.samsung.com> <CA++-COwFJJ7OGaZTffCEoWCw53WZrXs1VZxjfvbnMYv_3KvN5w@mail.gmail.com> <20180618092809eucas1p25d5a922904b9ab1df59c532179890f07~5Nw-JdN-j0712507125eucas1p2Z@eucas1p2.samsung.com>
- Reply-to: franciscodezuviria@xxxxxxxxx
I have zsh 5.5.1 in Debian Testing.
I can confirm it is fixed. HOWEVER, in a shell that uses the oh my zsh
framework, the bug persists! (even if I disable all plugins)
I had to login as root (which has no .zshrc) to make foo() { cat <(cat
"$@"); }; foo <(echo bar); work
I will report in oh my zsh as well, but I don't think it's their
fault, and I don't think they'll be able to do anything about it.
declaring a foo and using cat should work, regardless of how many
functions have been loaded previously. There's something messing
zsh...
On Mon, Jun 18, 2018 at 6:28 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
> On Sun, 17 Jun 2018 00:14:10 -0300
> Francisco de Zuviría Allende <franciscodezuviria@xxxxxxxxx> wrote:
>> This problem still happens.
>> > #!/bin/zsh
>> > foo() { cat <(cat "$@"); }; foo <(echo bar);
>> > cat: /proc/self/fd/11: No such file or directory
>
> This was fixed in 5.5. There's now a test for it at the end of
> D03procsubst.ztst, so failures will get picked up.
>
>> There is still no bug tracking system for zsh, right?
>
> No, we've never had a volunteer to look after one. The list is the
> right place to report bugs.
>
> pws
>
>
Messages sorted by:
Reverse Date,
Date,
Thread,
Author