Commits


replace got_pack_get_packfile_size() with simple fstat()


stat .idx file to determine its size, not the .pack file


fix double-frees in error path when resolving deltas fails


rename got_error_prefix_errno() to got_error_from_errno()


got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)


make got path APIs available to library consumers


plug fd leak in got_pack_stop_privsep_child()


omit unused mode argument to open(2)


more specific mmap(2) failure checks


don't close input files in dump_delta_chain_to_file(); caller does it


check for errors from close(2)


check for errors from fclose()


happy new copyright year


got_pack_get_object_size() -> got_pack_get_max_delta_object_size()


pass smallish blobs directly via imsg buffer


remove struct got_object from public library API


fix error handling in got_pack_stop_privsep_child()


bounds checks before memcpy in got_delta_apply_in_mem()


make object caching actually work in got-read-pack


handle errors from read(2) better while reading pack files


fix "rpath" pledge violation in got-read-pack


stop sending deltas in imsg; cache deltas in got-read-pack


start reading pack files with privsep; still WIP


remove unused includes from pack.c


make got_packfile_extract_object_to_mem() accept pack instead of repo