git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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?

Previous: Michael TokarevNext: Daniel Barkalow
Message 7 of 9 in “Really *do* nothing in while loop”
  1. Really *do* nothing in while loopThomas Glanzmann, May 8, 2005
  2. Michael TokarevMay 8, 2005
  3. Thomas GlanzmannMay 8, 2005
  4. James PurserMay 8, 2005
  5. jdowMay 8, 2005
  6. Michael TokarevMay 8, 2005
  7. Junio C HamanoMay 8, 2005
  8. Daniel BarkalowMay 8, 2005
  9. Junio C HamanoMay 8, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.