jean-frederic clere <[EMAIL PROTECTED]> writes:
> Jeff Trawick wrote:
> >
> > Blue Lang <[EMAIL PROTECTED]> writes:
> >
> > > On Wed, 25 Apr 2001, Rodent of Unusual Size wrote:
> > >
> > > > RELEASE NON-SHOWSTOPPERS BUT WOULD BE REAL NICE TO WRAP THESE UP:
> > > >
> > > > * htpasswd.c and htdigest.c use tmpnam()... consider using
> > > > mkstemp() when available.
> > > > Message-ID:
><[EMAIL PROTECTED]>
> > > > Status:
> > >
> > > there have been a couple of patches out there to deal with this.. were
> > > there problems with them? will they only be accepted if they work on 1.3
> > > and 2.0?
> >
> > IMHO, for 2.0 what we need is an APR function (or a special
> > apr_file_open() flag) which creates a temporary file according to the
> > needs of the platform (probably it uses mkstemp() on Unix) and returns
> > an APR representation of the file.
>
> There is a mktemp.c (for apr_mkstemp()) in APR, well it need more documentations
> and may be testing ;=).
That mktemp.c can be used for APR internals on Unix, but APR should
not be providing to applications a function which opens a file and
returns a Unix-style file descriptor to it.
--
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...