zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: Paulo Diovani <paulo@diovani.com>,
	Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: [Bug] comparisson operator `[[` not working as expected
Date: Mon, 20 Jun 2022 20:42:34 -0700	[thread overview]
Message-ID: <CAH+w=7b75EXZQiiMJEd7G=8eSAdQqn=6bwyx64fN+bgz=P4_Mg@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RA3KJ3+AQP0KrYLkq-z0nXL-fuROwz7X+MgsUhUd8VcQ@mail.gmail.com>

On Mon, Jun 20, 2022 at 5:47 PM Mikael Magnusson <mikachu@gmail.com> 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.


  reply	other threads:[~2022-06-21  3:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20 18:32 Paulo Diovani
2022-06-20 19:54 ` Stephane Chazelas
2022-06-20 20:07   ` Paulo Diovani
2022-06-20 20:30 ` Bart Schaefer
2022-06-21  0:47   ` Mikael Magnusson
2022-06-21  3:42     ` Bart Schaefer [this message]
2023-05-03 18:17       ` Paulo Diovani
2023-05-04  5:38         ` Mikael Magnusson
2023-05-04 13:10           ` Paulo Diovani
2023-05-04 14:56             ` Bart Schaefer
2023-05-04 17:42               ` Paulo Diovani

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH+w=7b75EXZQiiMJEd7G=8eSAdQqn=6bwyx64fN+bgz=P4_Mg@mail.gmail.com' \
    --to=schaefer@brasslantern.com \
    --cc=mikachu@gmail.com \
    --cc=paulo@diovani.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).