Commit Briefs

62d463cac1 Christian Weisgerber

indentation fixes


3168e5da21 Stefan Sperling

zap trailing tabs


81a12da586 Christian Weisgerber

do not rely on <zlib.h> to pull in <unistd.h>

ok stsp




2e5a6faddc Stefan Sperling

add mmap support to got-index-pack





2decf4c6ad Stefan Sperling

make output buffer optional for got_inflate_to_mem{,_fd}()







8baa7d2656 Stefan Sperling

retry on Z_BUF_ERROR in got_inflate_read() as well



6331840f53 Stefan Sperling

fix got_error_from_errno() arguments in inflate.c


b3a605cef0 Stefan Sperling

no need to zero memory in got_inflate_to_mem_mmap()


f2c5fe0e01 Stefan Sperling

no need to zero memory in got_inflate_to_mem_fd()


6dc3b75a27 Stefan Sperling

no need to zero memory in got_inflate_to_mem()


638f902404 Stefan Sperling

rename got_error_prefix_errno() to got_error_from_errno()


230a42bdc6 joshua stein

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)


324d37e7c7 Stefan Sperling

make got path APIs available to library consumers


5211b8c8bd Stefan Sperling

improve error checking around inflateInit()