From: "Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br>
To: "Carlos Rica" <jasampler@gmail.com>
Cc: "Junio C Hamano" <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH 1/2] Introduces xmkstemp()
Date: Wed, 15 Aug 2007 13:17:04 -0300 [thread overview]
Message-ID: <20070815131704.6cb76dbe@localhost> (raw)
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
next prev parent reply other threads:[~2007-08-15 16:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-14 19:44 [PATCH 1/2] Introduces xmkstemp() Luiz Fernando N. Capitulino
2007-08-15 15:11 ` Carlos Rica
2007-08-15 16:17 ` Luiz Fernando N. Capitulino [this message]
2007-08-15 16:47 ` Carlos Rica
2007-08-31 8:27 ` Marius Storm-Olsen
2007-08-31 8:34 ` Johannes Sixt
2007-08-31 8:42 ` Marius Storm-Olsen
2007-08-31 8:49 ` Johannes Sixt
2007-08-31 9:00 ` Marius Storm-Olsen
2007-08-31 12:03 ` MinGW merge plans, was " Johannes Schindelin
2007-08-31 13:13 ` Johannes Sixt
2007-08-31 16:57 ` Luiz Fernando N. Capitulino
2007-08-31 12:48 ` Luiz Fernando N. Capitulino
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070815131704.6cb76dbe@localhost \
--to=lcapitulino@mandriva.com.br \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=jasampler@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.