Commit Briefs

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


8ba9a21905 Stefan Sperling

remove diff_args from global state as well


1c7f05204c Stefan Sperling

store stat buffers in diff_state rather than diff_args


ed9e98a87f Stefan Sperling

store global diff state in memory provided by caller


dae2fc5945 Stefan Sperling

move more globals into struct diff_state


8020fd50b0 Stefan Sperling

move 'file' array into diff state


e04c4b2b1c Stefan Sperling

wrap global diff state in a struct


cb056f1e59 Stefan Sperling

wrap global diff arguments in a struct


7d283eeedc Stefan Sperling

add and test basic blob diffing functionality


574ed2c37d Stefan Sperling

add some unmodified files from /usr/src/usr.bin/diff/