apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <cliffwool...@yahoo.com>
Subject Re: [PATCH] apr_file_mktemp
Date Sat, 06 Oct 2001 20:24:28 GMT
On Sat, 6 Oct 2001, Mladen Turk wrote:

> Hi all,
>
> apr_file_mktemp behaves differenty on WIN platform then on UNIX.
> When you call the apr_file_mktemp on UNIX you'll get the opened apr_file_t.
>
> Here is the patch that solves that behavior. When you call the
> apr_file_mktem with valid
> apr_file_t param you'll get the file opened file, and if you use the NULL as
> apr_file_t param,
> only the fname will be filled with temporyry file name.

I'm looking into this.  You bring up a good point that the file cleanups
are being run twice on systems that don't have mkstemp.  I'll fix that and
clean up some other cruft while I'm at it.  Thanks for the patch!

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA



Mime
View raw message