Commits


implement diff_deleted_blob


handle fdopen() failure in opentemp()


pass output file to diffreg


implement diff_modified_blob


implement diff_added_blob


whitespace


move tempfile creation out of got_diffreg()


simplify


fix logic error


add some unimplemented stubs for tree diffing


add todo comment about diffreg() arguments


add a comment about xmalloc; it needs to go away


allow for custom diff header labels


show blob IDs in diff header


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


move more globals into struct diff_state


move 'file' array into diff state


wrap global diff state in a struct


wrap global diff arguments in a struct


add and test basic blob diffing functionality


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


implement open/close for blobs; add test which prints one


remove a debug printf