apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <trawi...@bellsouth.net>
Subject Re: cvs commit: apr/file_io/unix mktemp.c
Date Fri, 23 Feb 2001 19:17:44 GMT
rbb@covalent.net writes:

> On 23 Feb 2001 trawick@apache.org wrote:
> 
> > trawick     01/02/23 10:35:43
> >
> >   Modified:    file_io/unix mktemp.c
> >   Log:
> >   fix for ReliantUNIX and other platforms with no mkstemp() routine:
> >
> >   Don't rename mkstemp(); locks/unix/crossproc.c assumes that mkstemp() is the
> >   name of the function.
> 
> I believe this goes the wrong way.  Go ahead and rename mkstemp.  Change
> the locking code to use the corrent apr_mkstemp, instead of the system
> one.

Okey dokey.  APR will formally provide apr_mkstemp() to apps, with
prototype/doc in apr_file_io.h.

> We should not be exporting symbols from apr that are not namespace
> protected, even if those functions are supposed to be provided by the
> system.

yeah, I know :)  I just wasn't ready (personally) to say that APR
provides a mkstemp() function.  I'm over it.

-- 
Jeff Trawick | trawickj@bellsouth.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Mime
View raw message