Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] comparisson operator `[[` not working as expected



Hello,
any news on this? I still have the issue on 5.9.

Thanks in advance.

On Tue, Jun 21, 2022 at 12:42 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
On Mon, Jun 20, 2022 at 5:47 PM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> > -               curmaxjob = oldmaxjob ? oldmaxjob - 1 : 0;
> > +               curmaxjob = oldmaxjob ? oldmaxjob : 0;
>
> Isn't this now just a very funny way to spell
>   curmaxjob = oldmaxjob;
> ?

Now that you mention it, yes.  Removing the -1 was just the closest
equivalent to the patch that created the problem.


--
Paulo Diovani Gonçalves,
blog.diovani.com / @paulodiovani




Messages sorted by: Reverse Date, Date, Thread, Author