HomeFreeBSD

diff: Don't compare a file or directory to itself

Description

diff: Don't compare a file or directory to itself

While here, stop abusing struct dirent for something we don't even need
to store.

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

Details

Provenance
desAuthored on Feb 5 2026, 2:39 PM
Reviewer
thj
Differential Revision
D55113: diff: Don't compare a file or directory to itself
Parents
rGc3904a7de78c: diff: Fix pagination leak
Branches
Unknown
Tags
Unknown