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

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

From
LCLuiz Fernando N. Capitulino <lcapitulino@mandriva.com.br>
Date
Aug 15, 2007, 16:17 UTC
Message-ID
<20070815131704.6cb76dbe@localhost>
In-Reply-To
<1b46aba20708150811o3a6fa14ew72e925c93d158ec4@mail.gmail.com>
 Hi Carlos,

Em Wed, 15 Aug 2007 17:11:02 +0200 "Carlos Rica" <jasampler@gmail.com> escreveu:

| 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.
 Yeah, you right.
| 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.
 Actually, git_mkstemp() is also called by your builtin-verify-tag.c
program and the function which calls it (run_gpg_verify()) doesn't
die() on error.
 This series is not supposed to change programs/design behaivor,
hence I've chosen to not port the calls which doesn't explicit die
on error.
 But feel free to go ahead and port the others. ;)
-- 
Luiz Fernando N. Capitulino
Previous: Carlos RicaNext: Carlos Rica
Message 3 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.