opnsense-src/contrib/libdiff/lib
Dag-Erling Smørgrav b97396baca 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 week
Sponsored by:	Klara, Inc.
Reviewed by:	thj, kevans
Differential Revision:	https://reviews.freebsd.org/D55108

(cherry picked from commit a689bfa4e25af8307709dc12f75b0e02a65abf18)
2026-02-10 14:24:07 +00:00
..
diff_atomize_text.c libdiff: Simplify truncation detection 2026-02-10 14:24:07 +00:00
diff_debug.h
diff_internal.h
diff_main.c libdiff: Fix type issues. 2024-05-03 17:03:50 +02:00
diff_myers.c
diff_output.c libdiff: Implement diff coloring. 2024-10-02 17:55:06 +02:00
diff_output_edscript.c
diff_output_plain.c
diff_output_unidiff.c
diff_patience.c
GNUmakefile