HomeFreeBSD

diff3: Use logical-not, not bitwise for booleans

Description

diff3: Use logical-not, not bitwise for booleans

And compare impcompat != 0 as it's actually an integer incremented on
each use of one of the AeExX3 options.

Reviewed by: fuz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D53808

(cherry picked from commit abcb80f46c2607fc16564ca87cc25f0908f29f99)
(cherry picked from commit 56bdfd2d967ac104dc599bced168e1a200aa168e)

Details

Provenance
emasteAuthored on Nov 18 2025, 1:20 PM
Reviewer
fuz
Differential Revision
D53808: diff3: Use logical operations for booleans, not bitwise
Parents
rG07681cb31b24: diff3: Remove bespoke getopt.h
Branches
Unknown
Tags
Unknown