HomeFreeBSD

diff: honour flags with -q

Description

diff: honour flags with -q

Previously -q (just print a line when files differ) ignored flags like
-w (ignore whitespace). Avoid the D_BRIEF short-circuit when flags are
in effect.

PR: 252515
Reported by: Scott Aitken
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D28064

(cherry picked from commit 12a8d3027d414abd15798de1b6d8b01151bdac50)

Details

Provenance
emasteAuthored on Jan 9 2021, 4:22 PM
Reviewer
kevans
Differential Revision
D28064: diff: honour flags with -q
Parents
rG56880a501396: libc: fix undefined behavior from signed overflow in strstr and memmem
Branches
Unknown
Tags
Unknown