Commit Briefs

0165cdf03f Stefan Sperling

remove support for 'edit' diff output from diffreg


119f86008e Stefan Sperling

remove support for "normal" diff output from diffreg


84e118513c Stefan Sperling

remove support for context diffs from diffreg.c


a2a848a2c0 Stefan Sperling

remove ignore-lines pattern support from diffreg code


f5d549b5bd Stefan Sperling

adjust preadline() and ignoreline() to match diff(1) again


755142eaf1 Stefan Sperling

in diffreg.c, return value from preadline() must be freed


5a7ffad525 Stefan Sperling

always free ds->ixold and ds->ixmew in got_diffreg()


6b59e13c2c Stefan Sperling

always free ds->clist and ds->klist in got_diffreg()


7b366981c1 Stefan Sperling

always free ds->J in got_diffreg()


9b98f34bfa Stefan Sperling

always free ds->member and ds->class in got_diffreg()


df51fc4ebf Stefan Sperling

fix reallocarray error handling in diffreg.c


7673568311 Stefan Sperling

move diffreg's max_context into struct got_diff_state


d3f36e7e5a Theo Buehler

make max_connect static as in the original diffreg.c

This way we grow the array instead of doing 64 <<= 1.


bb5dcc10ce Stefan Sperling

fix open file leaks in previous


ecf6e46eb1 Stefan Sperling

check for fopen() failures in got_diffreg()




32cb896c4b Stefan Sperling

rename library-private headers from *_priv.h to *_lib.h



322260e178 Martin Pieuchot

Get rid of xmalloc.{c,h}.

malloc(3) & pread(3) errors will now be reported as GOT_ERR_NO_MEM. This does not improve the numbers of leaks in diffreg.c


a3e2cbea87 Stefan Sperling

make tree diffing work


cb74ff2103 Stefan Sperling

pass output file to diffreg


f9d67749a9 Stefan Sperling

move tempfile creation out of got_diffreg()


697f44709c Stefan Sperling

add todo comment about diffreg() arguments


9aa1fd7570 Stefan Sperling

add a comment about xmalloc; it needs to go away