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

Re: What's cooking in git.git (Feb 2011, #07; Mon, 28)

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Mar 2, 2011, 06:49 UTC
Message-ID
<4D6DE88F.9030001@viscovery.net>
In-Reply-To
<7voc5uenmy.fsf@alter.siamese.dyndns.org>
Am 3/1/2011 18:50, schrieb Junio C Hamano:
Show 10 quoted lines
> Erik Faye-Lund <kusmabite@gmail.com> writes:
>> There's also the added complication that _open_osfhandle also seems to
>> be limited by this 2048 limit (see the third comment here:
>> http://bugs.mysql.com/bug.php?id=24509). We use this function for
>> pipes and sockets as well. This alone might be a reason to corner-case
>> test the resulting binary on Windows properly.
> 
> As long as the use of osfhandles for non filedescriptors is reasonably
> bounded, it may be enough to make the 25 slop configurable per platform,
> no?

It's not necessary to complicate things. The file descriptors acquired with _open_osfhandle are (only) used in the implementation of pipe() and socket() and count towards the limit no more and no less than the file descriptors acquired with pipe() and socket() on Unix.

-- Hannes
Previous: Junio C HamanoNext: Erik Faye-Lund
Message 5 of 8 in “What's cooking in git.git (Feb 2011, #07; Mon, 28)”
  1. Junio C HamanoMar 1, 2011
  2. Jens LehmannMar 1, 2011
  3. Erik Faye-LundMar 1, 2011
  4. Junio C HamanoMar 1, 2011
  5. Johannes SixtMar 2, 2011
  6. Erik Faye-LundMar 2, 2011
  7. Erik Faye-LundMar 2, 2011
  8. Michael J GruberMar 5, 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.