diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-06-10 12:15:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-06-10 16:17:19 -0700 |
commit | e01503b523e79748ac91d876f506811c597d03cb (patch) | |
tree | 5d5d0cab5583849244fa903ce79ac8ec6b242a7f /builtin/index-pack.c | |
parent | ef49a7a0126d64359c974b4b3b71d7ad42ee3bca (diff) | |
download | git-e01503b523e79748ac91d876f506811c597d03cb.tar.gz git-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 'builtin/index-pack.c')
0 files changed, 0 insertions, 0 deletions