[PATCH] Fix libstdc++/7811

Benjamin Kosnik bkoz@redhat.com
Thu Sep 5 14:03:00 GMT 2002


> I'm unsure about the following points: in case LC_ALL is not set is the 
> fallback to LANG  really needed (PR submitter implicitly expected this 
> to be the case)? 

Yes.

> Also, if neither are set is always correct that "" -> "C"?

Yes.

> 2002-09-05  Paolo Carlini  <pcarlini@unitus.it>
>             Roland McGrath  <roland@redhat.com>
> 
>         libstdc++/7811
>         * src/locale.cc (locale::locale(__s)): Use getenv instead
>         of setenv for the environment locale.
>         * testsuite/22_locale/ctor_copy_dtor.cc (test03): New.

Ok for mainline and gcc-3.2

Thanks Paolo!

-benjamin



More information about the Libstdc++ mailing list