Kyle Evans <kevans_at_freebsd.org> write on Date: Mon, 15 May 2023 15:59:04 UTC :
> On Mon, May 15, 2023 at 10:49 AM Jessica Clarke <jrt...@freebsd.org> wrote: > > > > On 15 May 2023, at 16:42, Kyle Evans <kev...@freebsd.org> wrote: > . . . > > > + return (!match != !invert); > > > > This is equivalent to match != invert? > > > > Good shout, fixed in b68588618b43, thanks. Clear lack of consideration > on my part, and I'm guessing they were ints in an earlier version of > NetBSD's implementation. Off topic but prompted by the "match != invert" : A hardware engineer would call that != for Boolean arguments by the name: "xor". That is not my favorite name for it. I prefer: "Boolean inequality" or the like. I've seen code in the past that expanded out the case analysis based on the tests for specific values. === Mark Millard marklmi at yahoo.com