Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Spurious "no match" (Re: Remind me why ${name+word} is the way it is?)
On Mon, 28 Nov 2016 22:44:50 -0800
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> So, this isn't url-quote-magic's fault -- the value of the internal C
> variable badcshglob is never getting cleared after the error has been
> ignored, so it trips the next time any command passes through a test
> for whether a glob has failed. Any user-defined widget that assigns
> to an array ought to generate the same error.
>
> This seems to do the right thing, but someone please review:
The code structure for this badcshglob great; it's hard to see how it could
have been right to allow that error to propagate back to who knows
where. I think the change could only cause problems by unexpected side
effects.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author