libdiff: Simplify truncation detection* Adjust the comment to reflect the fact that SIGBUS can occur not only if the file is truncated, but also if an I/O error occurs while paging in any part
libdiff: Simplify truncation detection* Adjust the comment to reflect the fact that SIGBUS can occur not only if the file is truncated, but also if an I/O error occurs while paging in any part of it.* Instead of setting a flag, just return EIO.* Adjust the unit test accordingly.MFC after: 1 weekSponsored by: Klara, Inc.Reviewed by: thj, kevansDifferential Revision: https://reviews.freebsd.org/D55108
show more ...
diff: Nits in tests.Sponsored by: Klara, Inc.
libdiff: Add a test for the truncation issue.Sponsored by: Klara, Inc.Reviewed by: allanjudeDifferential Revision: https://reviews.freebsd.org/D45218