summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-06-10 19:15:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-06-10 23:17:19 (GMT)
commite01503b523e79748ac91d876f506811c597d03cb (patch)
tree5d5d0cab5583849244fa903ce79ac8ec6b242a7f /t
parentef49a7a0126d64359c974b4b3b71d7ad42ee3bca (diff)
downloadgit-e01503b523e79748ac91d876f506811c597d03cb.zip
git-e01503b523e79748ac91d876f506811c597d03cb.tar.gz
git-e01503b523e79748ac91d876f506811c597d03cb.tar.bz2
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 't')
0 files changed, 0 insertions, 0 deletions