Re: [PATCH] Really *do* nothing in while loop
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 8, 2005, 21:08 UTC
- Message-ID
- <7vy8ap4e8l.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <427DFAB8.5050000@tls.msk.ru>
>>>>> "MT" == Michael Tokarev <mjt@tls.msk.ru> 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?