6 years ago Stefan Sperling
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
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/