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

Re: [BUG] git cat-file does not terminate

From
Jeff King <peff@peff.net>
Date
Mar 9, 2011, 21:43 UTC
Message-ID
<20110309214323.GB4400@sigill.intra.peff.net>
In-Reply-To
<4D77DA52.7050701@tweerlei.de>
On Wed, Mar 09, 2011 at 08:51:46PM +0100, Robert Wruck wrote:
Show 9 quoted lines
> >Thanks; it is not very critical so don't spend too much effort trying to
> >find a way to do so at runtime.  We can always use the approach Jeff's
> >Makefile patch took to make it safe (and potentially slow) by default on
> >all Cygwin while still allowing people on an unaffected version to turn
> >the workaround off while building.
> 
> The write() issue will presumably be fixed in the next cygwin
> release. I already have a version that works on WinXP where it used
> to fail.

Cool. Does our Makefile know the cygwin version number via "uname -r"? We could at least tweak the build-time patch to turn it on for the right versions (though we should perhaps wait for the fixed version to be released so we know what it is. :) ).

Personally I wouldn't bother much with run-time detection. But maybe cygwin people tend to download binary packages and run them on top of arbitrary versions cygwin? I don't know what's normal.

-Peff
Previous: Robert Wruck
Message 12 of 12 in “[BUG] git cat-file does not terminate”
  1. Robert WruckMar 4, 2011
  2. Peter BaumannMar 4, 2011
  3. Jeff KingMar 4, 2011
  4. Junio C HamanoMar 4, 2011
  5. Robert WruckMar 4, 2011
  6. Robert WruckMar 4, 2011
  7. Jeff KingMar 8, 2011
  8. Junio C HamanoMar 8, 2011
  9. Robert WruckMar 9, 2011
  10. Junio C HamanoMar 9, 2011
  11. Robert WruckMar 9, 2011
  12. Jeff KingMar 9, 2011

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.