apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bray <Tim.B...@Sun.COM>
Subject Re: apr_file_* weirdness on Mac OS X
Date Fri, 03 Oct 2008 15:50:50 GMT
On Oct 3, 2008, at 8:41 AM, Erik Huelsmann wrote:


>> Well, this isn't actually a temp file.   Once it's written and  
>> closed, I
>> want to move it into its final location as quickly as possible, so  
>> I thought
>> it would be good to have it in the same directory where it's going  
>> to end up
>> and avoid doing a copy.   But if this kind of thing is going to  
>> happen, you
>> probably have a point.  -Tim
> You don't need it in the same directory, you need it on the same
> volume to avoid the copy.

Um, I know that.  But apr_file_mktemp doesn't let you control where  
the temp file goes, right?  And now that I think of it, the file can  
be fairly large.  Grmph.  If it is OS X, this seems like an  
*egregious* violation of unix filesystem semantics.  -T

View raw message