Merge branch 'jc/zlib-wrap'

* jc/zlib-wrap:
  zlib: allow feeding more than 4GB in one go
  zlib: zlib can only process 4GB at a time
  zlib: wrap deflateBound() too
  zlib: wrap deflate side of the API
  zlib: wrap inflateInit2 used to accept only for gzip format
  zlib: wrap remaining calls to direct inflate/inflateEnd
  zlib wrapper: refactor error message formatter

Conflicts:
	sha1_file.c
This commit is contained in:
Junio C Hamano
2011-07-19 09:33:03 -07:00
16 changed files with 330 additions and 133 deletions

View File

@ -66,7 +66,7 @@ struct filtered_istream {
struct git_istream {
const struct stream_vtbl *vtbl;
unsigned long size; /* inflated size of full object */
z_stream z;
git_zstream z;
enum { z_unused, z_used, z_done, z_error } z_state;
union {