Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: [PATCH 6/6] Use new compress helpers in builtin-pack-objects.c

From: Marco Costalba <hidden>
Date: 2016-06-15 22:44:04

On Jan 10, 2008 10:34 PM, Marco Costalba [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help