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

Re: [PATCH revised] git_mkstemps: add test suite test

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 6, 2013, 20:50 UTC
Message-ID
<7vd2pqfssc.fsf@alter.siamese.dyndns.org>
In-Reply-To
<201308061902.r76J2W33027399@freeze.ariadne.com>
worley@alum.mit.edu (Dale R. Worley) writes:
Show 13 quoted lines
>>     git commit --allow-empty -m message <&-
>
> Though as of [fb56570] "Sync with maint to grab trivial doc fixes",
> that test doesn't fail for me if I revert to
>
> 		fd = open(pattern, O_CREAT | O_EXCL | O_RDWR, mode);
> 		if (fd > 0)
> 			return fd;
>
> I haven't been watching the code changes carefully; has there been a
> fix that is expected to cause that?
>
> Dale

That is because a11c3964 (git: ensure 0/1/2 are open in main(), 2013-07-16) happened in the meantime, I think.

Previous: Dale R. Worley
Message 5 of 5 in “git_mkstemps: add test suite test”
  1. git_mkstemps: add test suite testDale R. Worley, Aug 6, 2013
  2. Junio C HamanoAug 6, 2013
  3. Dale R. WorleyAug 6, 2013
  4. Dale R. WorleyAug 6, 2013
  5. Junio C HamanoAug 6, 2013

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.