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

Re: [PATCH] Clean up file descriptors when calling hooks.

From
Junio C Hamano <junkio@cox.net>
Date
Dec 8, 2005, 05:40 UTC
Message-ID
<7vwtigkuyb.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.64.0512080006460.25300@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
Show 8 quoted lines
> On Wed, 7 Dec 2005, Junio C Hamano wrote:
>
>> A quick question.  I understand "not connected to the pushing
>> connection" is desirable, but is there a reason you chose to
>> leave them open to /dev/null, not close()d?
>
> Wouldn't that make programs that assume that stdout (or stdin) is still 
> valid get errors?
right both of you are.  applied and pushed out.  thanks.
Previous: Daniel Barkalow
Message 4 of 4 in “Clean up file descriptors when calling hooks.”
  1. Clean up file descriptors when calling hooks.Daniel Barkalow, Dec 8, 2005
  2. Junio C HamanoDec 8, 2005
  3. Daniel BarkalowDec 8, 2005
  4. Junio C HamanoDec 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.