HomeFreeBSD

diff: Fix device case.

Description

diff: Fix device case.

We already fell back to Stone for FIFOs, but we actually need to fall
back to Stone for everything except regular files, because libdiff's
atomizer needs to know the size of its input in advance, and neither
FIFOs nor devices can be trusted to report their size.

MFC after: 1 week
Reported by: mav
Reviewed by: mav, allanjude
Differential Revision: https://reviews.freebsd.org/D48181

Details

Provenance
desAuthored on Dec 23 2024, 5:15 PM
Reviewer
mav
Differential Revision
D48181: diff: Fix device case.
Parents
rGb45f84cc6213: makefs: Exit with error if writing cd image fails
Branches
Unknown
Tags
Unknown