Commits


fix open file leaks in previous


check for fopen() failures in got_diffreg()


remove GOT_ERR_NO_MEM, we can just use errno in those cases


rename the library-internal headers again to a common prefix


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


rename private header filenames so they are in got_ namespace


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


make tree diffing work


pass output file to diffreg


move tempfile creation out of got_diffreg()


add todo comment about diffreg() arguments


add a comment about xmalloc; it needs to go away


remove diff_args from global state as well


store stat buffers in diff_state rather than diff_args


store global diff state in memory provided by caller