Commits


use mergesort(3) instead of qsort(3) in patience diff Fixes test failures on OpenBSD due to unstable results of qsort if two or more elements are equal. Add a compat copy of OpenBSD mergesort(3) for Linux.


add -Wuninitialized to CFLAGS on Linux build; exposes some bugs already


add a diff output mode which produces simple ed(1) scripts


move headers from include/diff/ to include/; makes things easier for consumers


add missing reallocarray(3) compat shim


make use of source files in compat/ directory on Linux


enable -Wstrict-prototype and -Wunused-variable in Linux build


rename linux_Makefile to GNUmakefile; GNU make picks this up automatically