3 years ago bf11ce0ed8 Stefan Sperling
update arraylist's allocated counter only if the allocation succeeds
3 years ago ab528e220f Stefan Sperling
remove an unused variable
3 years ago 32be302247 Stefan Sperling
do not clobber the arraylist head if recallocarray fails
3 years ago dabc100859 Stefan Sperling
check results of ARRAYLIST_ADD
3 years ago 8cba9b5e69 Stefan Sperling
check return value of diff_output_lines
3 years ago 2c20a3ed9d Stefan Sperling
optionally provide information about the generated diff to the API user
3 years ago 24b5052ac0 Stefan Sperling
add APIs to write out the left and right versions of diff chunks
3 years ago 11caa5ccb6 Stefan Sperling
store interal state of output_unidiff API in an opaque struct
3 years ago 00d5652be6 Stefan Sperling
convert 'ignore_whitespace' boolean into a more general flags argument
3 years ago 62ab48ecd9 Stefan Sperling
remove now redundant declaration from diff_main.h
3 years ago 85ab455967 Stefan Sperling
move some definitions from the public diff_main.h to an internal header file
3 years ago f374e91343 Stefan Sperling
support output of individual diff chunks in the public API
3 years ago 05b5f01fe7 Stefan Sperling
fix segfault which occurred with empty input files
3 years ago 945524ed4b Stefan Sperling
remove abort() in example code
3 years ago 6f26cb2ecb Stefan Sperling
convert abort() in diff_output_lines() to error return
3 years ago 7a54ad3ae5 Stefan Sperling
use buffered stdio if falling back on file i/o; this is much faster
3 years ago 03f497279d Stefan Sperling
return error instead of abort()
3 years ago bfdc637cd9 Stefan Sperling
add missing reallocarray(3) compat shim
3 years ago 18a9c7f892 Stefan Sperling
remove another custom linux shim in favour of compat/ directory
3 years ago 41d00e9f34 Stefan Sperling
make use of source files in compat/ directory on Linux
3 years ago 3ba0a2ed92 Stefan Sperling
enable -Wstrict-prototype and -Wunused-variable in Linux build
3 years ago cc5f4ee87b Stefan Sperling
rename linux_Makefile to GNUmakefile; GNU make picks this up automatically
3 years ago 440d36388f Stefan Sperling
remove unused portable GNUmakefile
3 years ago 0096113475 Stefan Sperling
reduce default diff-box recursion depth from 1024 to 32
3 years ago e4464189bc Stefan Sperling
rename 'debug.h' to 'diff_debug.h'