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

Re: [PATCH] upload-archive: fix infinite loop on Cygwin

From
Tony Finch <dot@dotat.at>
Date
Jun 18, 2009, 17:18 UTC
Message-ID
<alpine.LSU.2.00.0906181817400.2474@hermes-2.csi.cam.ac.uk>
In-Reply-To
<4A38C13E.6050800@lsrfire.ath.cx>
On Wed, 17 Jun 2009, René Scharfe wrote:
> On Cygwin, poll() reports POLLIN even for file descriptors that have
> reached their end.  This caused git upload-archive to be stuck in an
> infinite loop, as it only looked at the POLLIN flag.

I think it isn't just Cygwin that does this - see http://www.greenend.org.uk/rjk/2001/06/poll.html

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.
Previous: René Scharfe
Message 6 of 6 in “git archive, cygwin, and --git-dir vs --remote”
  1. Bob KagyMay 18, 2009
  2. René ScharfeMay 21, 2009
  3. Tony FinchMay 21, 2009
  4. René ScharfeMay 21, 2009
  5. upload-archive: fix infinite loop on CygwinRené Scharfe, Jun 17, 2009
  6. Tony FinchJun 18, 2009

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.