httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: locale
Date Sun, 06 Jul 1997 23:41:13 GMT
I don't think anyone is suggesting that it'd be per-request ... even in my
original post I said that I don't want to toggle locales at all.  On
solaris, setlocale() involves reading a file from /usr/lib/locale. 
Definately not cheap :) 

Dean

On Thu, 3 Jul 1997, Brian Behlendorf wrote:

> At 07:52 AM 7/3/97 -0400, you wrote:
> >>From the fingers of Dean Gaudet flowed the following:
> >>
> >>Consider PR#76, and PR#679.  I propose that 1.3 does a setlocale(LC_ALL,
> >>"");.  This affects the logging code, but frankly, I don't care.
> >
> >    Dare I suggest a "InheritLocale {on|off}" directive?  +1 to doing it
> >    in http_main with that addition.  After several months of thought, I
> >    *don't* want a bunch of PRs because Apache suddenly started using
> >    the locale settings..
> 
> How does that affect performance?  Will the "inherit_locale" variable be
> checked with every log write, with every DATE_LOCAL env variable set, etc?
> If not then +1.  If so, I'd prefer a compile-time directive.
> 
> 	Brian
> 
>  
> --=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
> "Why not?" - TL                brian@organic.com - hyperreal.org - apache.org
> 


Mime
View raw message