From: Junio C Hamano Date: Sun, 08 May 2005 21:08:58 GMT Subject: Re: [PATCH] Really *do* nothing in while loop Message-ID: <7vy8ap4e8l.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <427DFAB8.5050000@tls.msk.ru> >>>>> "MT" == Michael Tokarev writes: MT> As I already said, deflate() in this case does only ONE iteration. MT> stream.avail_in is NOT changed in the loop (except of the deflate() MT> itself, where it will be set to 0 - provided out buffer have enouth MT> room).... Just a stupid question, but what happens when we do not have enough room in the buffer?