5 years ago bcd28dfd6d Stefan Sperling
don't close input files in got_diffreg(); callers will do that
5 years ago fb43ecf150 Stefan Sperling
check for errors from fclose()
5 years ago acb209ee71 Stefan Sperling
restore support for D_NORMAL diffs of regular files
5 years ago 4a8520aa6b Stefan Sperling
use a constant for max diff context size
6 years ago 404c43c4fa Stefan Sperling
basic 'got blame' implementation
6 years ago c48ceb4cb5 Stefan Sperling
remove support for the ifdef diff format from diffreg
6 years ago 1afa8e435b Stefan Sperling
remove REVERSE and NREVERSE diff output options from diffreg
6 years ago 0165cdf03f Stefan Sperling
remove support for 'edit' diff output from diffreg
6 years ago 119f86008e Stefan Sperling
remove support for "normal" diff output from diffreg
6 years ago 84e118513c Stefan Sperling
remove support for context diffs from diffreg.c
6 years ago a2a848a2c0 Stefan Sperling
remove ignore-lines pattern support from diffreg code
6 years ago f5d549b5bd Stefan Sperling
adjust preadline() and ignoreline() to match diff(1) again
6 years ago 755142eaf1 Stefan Sperling
in diffreg.c, return value from preadline() must be freed
6 years ago 5a7ffad525 Stefan Sperling
always free ds->ixold and ds->ixmew in got_diffreg()
6 years ago 6b59e13c2c Stefan Sperling
always free ds->clist and ds->klist in got_diffreg()
6 years ago 7b366981c1 Stefan Sperling
always free ds->J in got_diffreg()
6 years ago 9b98f34bfa Stefan Sperling
always free ds->member and ds->class in got_diffreg()
6 years ago df51fc4ebf Stefan Sperling
fix reallocarray error handling in diffreg.c
6 years ago 7673568311 Stefan Sperling
move diffreg's max_context into struct got_diff_state
6 years ago d3f36e7e5a Theo Buehler
This way we grow the array instead of doing 64 <<= 1.
6 years ago bb5dcc10ce Stefan Sperling
fix open file leaks in previous
6 years ago ecf6e46eb1 Stefan Sperling
check for fopen() failures in got_diffreg()
6 years ago 0a585a0d64 Stefan Sperling
remove GOT_ERR_NO_MEM, we can just use errno in those cases
6 years ago 718b3ab0e3 Stefan Sperling
rename the library-internal headers again to a common prefix
6 years ago 32cb896c4b Stefan Sperling
rename library-private headers from *_priv.h to *_lib.h