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

Re: [PATCH 1/2] Introduces xmkstemp()

From
CRCarlos Rica <jasampler@gmail.com>
Date
Aug 15, 2007, 15:11 UTC
Message-ID
<1b46aba20708150811o3a6fa14ew72e925c93d158ec4@mail.gmail.com>
In-Reply-To
<20070814164453.400b9c55@localhost>
Hi Luiz:
2007/8/14, Luiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>:
>
> This is a wrapper for mkstemp() that performs error checking and
> calls die() when an error occur.

I think that it is related with the git_mkstemp() function in path.c. Perhaps we should use xmkstemp inside that function too, since it is only used in diff.c and after the call it also dies when fd<0.

--Carlos
Previous: Luiz Fernando N. CapitulinoNext: Luiz Fernando N. Capitulino
Message 2 of 13 in “Introduces xmkstemp()”
  1. 1/2 Introduces xmkstemp()Luiz Fernando N. Capitulino, Aug 14, 2007
  2. Carlos RicaAug 15, 2007
  3. Luiz Fernando N. CapitulinoAug 15, 2007
  4. Carlos RicaAug 15, 2007
  5. Marius Storm-OlsenAug 31, 2007
  6. Johannes SixtAug 31, 2007
  7. Marius Storm-OlsenAug 31, 2007
  8. Johannes SixtAug 31, 2007
  9. Marius Storm-OlsenAug 31, 2007
  10. MinGW merge plans, was Re: [PATCH 1/2] Introduces xmkstemp()Johannes Schindelin, Aug 31, 2007
  11. Johannes SixtAug 31, 2007
  12. Luiz Fernando N. CapitulinoAug 31, 2007
  13. Luiz Fernando N. CapitulinoAug 31, 2007

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.