From: Marco Costalba Date: Fri, 11 Jan 2008 06:10:49 GMT Subject: Re: [PATCH 6/6] Use new compress helpers in builtin-pack-objects.c Message-ID: In-Reply-To: On Jan 10, 2008 10:34 PM, Marco Costalba wrote: > > - while (deflate(&stream, Z_FINISH) == Z_OK) > - /* nothing */; > - deflateEnd(&stream); > - datalen = stream.total_out; > - deflateEnd(&stream); One thing I would like someone to clarify is why deflateEnd(&stream) is called two times ? With my patch is called only once as I have seen in all the others places. Thanks Marco