summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-06-10 12:15:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-10 16:17:19 -0700
commite01503b523e79748ac91d876f506811c597d03cb (patch)
tree5d5d0cab5583849244fa903ce79ac8ec6b242a7f /dir.c
parentzlib: zlib can only process 4GB at a time (diff)
downloadtgif-e01503b523e79748ac91d876f506811c597d03cb.tar.xz
zlib: allow feeding more than 4GB in one go
Update zlib_post_call() that adjusts the wrapper's notion of avail_in and avail_out to what came back from zlib, so that the callers can feed buffers larger than than 4GB to the API. When underlying inflate/deflate stopped processing because we fed a buffer larger than 4GB limit, detect that case, update the state variables, and let the zlib function work another round. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions