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 43100
- 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:18:20 -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=Tu1Fl+EBCWagNgY9bx0nW3zc6HBzp7FZMRR3402VVYs=; b=gU9XTRras/vWwhcY9gAvI7XGMOVj/9nU2v8hA9FvVH9IszO838M0iDzGtusuaWBXVD x48Jo9l67W3we3g0MQsKN5spFqkdHTUjEnSGx3UlfhVhlbAysk4sWuufbLXX4YuPWpFs rcysG8TD4f3GqPFNRKBLq0aUNc8rQ8YDfDOLCodJZKGv8/aR9HFxLGVTSjScyldrB5EM bhrwp7taDQQhFR9fj8500wYCMvqbP49Cgmn6TkOWDNirxWc3DLr9uVf+O+zu1CSCu6eV 1bF0P8DUftxuMGbhkYJ8H1cphmH7g12TitZz4xjGZm2cS5SZ3WNb4D+bnnUf4u35RaGj GQhQ==
- In-reply-to: <CA++-COx730-knwwYjR3y4jELnZvmC1ogPnwCGta24QmHw=Nncg@mail.gmail.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> <CA++-COzdkenCJH2V82QKoiE3WyyWkk0SNm5VyTq+AyC9YZ4Yeg@mail.gmail.com> <CA++-COx730-knwwYjR3y4jELnZvmC1ogPnwCGta24QmHw=Nncg@mail.gmail.com>
- Reply-to: franciscodezuviria@xxxxxxxxx
silly me, I forgot to fire up zsh while logged as root.
The problem persists :(
Maybe a regression from 5.5.1 ?
On Wed, Jun 27, 2018 at 6:14 AM, Francisco de Zuviría Allende
<franciscodezuviria@xxxxxxxxx> wrote:
> I created https://github.com/robbyrussell/oh-my-zsh/issues/6951
> Hopefully some can narrow down the problem
>
> On Wed, Jun 27, 2018 at 6:04 AM, Francisco de Zuviría Allende
> <franciscodezuviria@xxxxxxxxx> wrote:
>> 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