Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SH_FILE_EXPANSION broken with process substitution
- X-seq: zsh-workers 46109
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh workers <zsh-workers@xxxxxxx>
- Subject: Re: SH_FILE_EXPANSION broken with process substitution
- Date: Wed, 24 Jun 2020 11:28:34 +0100 (BST)
- Importance: Medium
- In-reply-to: <86219-1592947387.142438@emcj.0STP.JFZv>
- 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: <y4afldJoSwA-2f_A41orqMuqL0PBuCH-bNNmILkCJiCULsMaJLUaE3b6Wnik_-NsmQ4Mt-RplAmjIhnzlOdwTA0yOvz8FtBd2l-Hj3bdYKs=@protonmail.ch> <XWTtnbNNmSf6ayC1Z_SII5UXqL0LrqoRShGLovWZDKg1StMWFkYX55t-fM1WgkdPzjwnncuT2uNhKTqSpLdJK6-tjpJlcwM8hIPgwZj3qzE=@protonmail.ch> <20200515085324.63c6325f@tarpaulin.shahaf.local2> <Ww4N4kk6TH_2Cp6_B0A709kTrD8LonXJPl6qmAAx75k0eQ7OczWUSwo7LCJOnXJm-nyuAVtdf8HOIGGb0krLeM0Z_fRWy723j1XTVA6vgek=@protonmail.ch> <M7YSmAUEta0Gj8cEz4B9Gn5KKAunBIeatP3PsxZ68C1YOpcag2nmBp-uirDw9qmL9UZ90zKlkVMJ8FmGFrLmbl3R40U4r-wT5ktHeAwIZrg=@protonmail.ch> <20200606081909.33d488c5@tarpaulin.shahaf.local2> <99116-1591744033.948885@zagI.gwnq.OfJE> <20200610134459.514b0a3d@tarpaulin.shahaf.local2> <86219-1592947387.142438@emcj.0STP.JFZv>
- Sender: zsh-workers@xxxxxxx
> On 23 June 2020 at 22:23 Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Following on from the gpg completion breakage, it seems this option has
> been broken when used in combination with EQUALS.
>
> This got broken in 35a8612 (workers/26042), released in 4.3.10:
> zsh -df --shfileexpansion -c ': =(echo hi)'
diff --git a/Src/subst.c b/Src/subst.c
index 90b5fc121..ed3f4a82b 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -796,7 +796,7 @@ filesubstr(char **namptr, int assign)
*namptr = dyncat(hom, ptr);
return 1;
}
- } else if (*str == Equals && isset(EQUALS) && str[1]) { /* =foo */
+ } else if (*str == Equals && isset(EQUALS) && str[1] && str[1] != Inpar) { /* =foo */
char *expn = equalsubstr(str+1, assign, isset(NOMATCH));
if (expn) {
*namptr = expn;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author