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
   [EMAIL PROTECTED]
   Charlottesville, VA


Reply via email to