apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Erenkrantz <jerenkra...@ebuilt.com>
Subject Re: [PATCH] apr_file_mktemp should APR_CREATE the tmp file
Date Fri, 18 Jan 2002 19:22:51 GMT
On Tue, Jan 15, 2002 at 07:04:00PM -0800, sterling@covalent.net wrote:
> this patch fixes it... Also -

Committed.  Thanks!

> should it really DELONCLOSE by default?  I don't think that's consistent
> with most implementations of mkstemp - worst case we should document it
> (and since the consumer can pass their own flags its not a big deal).

Yeah, I agree that it is different, but I'm not entirely sure that 
it is the wrong thing to do.  I think if you have a temp-file, you 
want to delete it by *default*.  Since a user can override those
flags, I think it's NBD as well.  -- justin


Mime
View raw message