Commits


in addblk(), only read data into buffer1 if we will compare it to buffer2 suggested by and ok naddy@


addblk() may seek in its input file; reposition the file pointer afterwards


addblk: iterate over the correct number of entries after growing the array ok naddy


addblk: be more careful about expanding the blocks array when we outgrow it fixes + ok naddy


check a block's hash as well as its length before expensive comparisons suggested by + ok naddy, and Ori agrees


allow got_deltify_free(NULL); will be needed by 'gotadmin pack'


deltify.c: explicitly include <endian.h> for be64toh()


substantial rewrite of deltify.c; operate on plain files only


fix off-by-one error in delta length; from ori git9 commit fbb2fb7c87d8edf58e22c84f575853dc9de79ac4


first pass over deltify.c: adapt coding style and data types; make it compile


Ori has authorized a licence change to OpenBSD's license template


add deltify.c, unmodified from git9, with license header added