httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject Re: Tempnam(3), Tempfile(3) vs mktemp(3) on BSD
Date Tue, 14 Mar 2000 16:38:33 GMT
> > If you look at
> > misc/win32, there is a function ap_get_oslevel.  This function returns the
> > version of the operating system for windows.
> 
> This will work and lends itself to extending generally across APR. Save the
> result in a static variable and you get around the performance hit as well.

The result is already stored in a static variable, so there is no
performance hit.  I am still not convinced this is a good idea across all
platforms.  I think if you want take advantage of 4.3.2 functions, we
sould be compiling for 4.3.2.

Ryan


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message