HomeFreeBSD

diff: Print an error message on I/O error

Description

diff: Print an error message on I/O error

If an error occurs while atomizing either file, immediately print an
error message using the error code returned by the atomizer, and set
the error bit in the exit status.

PR: 292198
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: thj, kevans
Differential Revision: https://reviews.freebsd.org/D55109

Details

Provenance
desAuthored on Feb 5 2026, 2:39 PM
Reviewer
thj
Differential Revision
D55109: diff: Print an error message on I/O error
Parents
rGa689bfa4e25a: libdiff: Simplify truncation detection
Branches
Unknown
Tags
Unknown