Re: [PATCH] Squelch compiler warnings
On Fri, Nov 05, 2010 at 11:28:32 +0100, Vincent Lefevre wrote:
> On 2010-11-04 18:41:55 +0530, Ramkumar Ramachandra wrote:
> > * Replace several 'mktemp' with safer 'mkstemp' alternative.
> But there is a difference in case of error. According to the man pages,
The reasoning for using mktemp vs. mkstemp was described in Msg-ID
<20060817052317.GA4059@robert>[*] in August 2006 by good old Rocco (God
bless his soul), after I had actually asked. :) It didn't sound like
it was intended to be replaced. (Yes, that was a "get rid of warnings"
sub-thread back then. Déjà vu?)
I'm not sure whether the use model has changed, or is different in the