Re: [PATCH 1/2] Introduces xmkstemp()
- From
- Carlos 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