This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/14071] New: locale::global doesn't always call setlocale
- From: "peturr02 at ru dot is" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2004 13:51:48 -0000
- Subject: [Bug libstdc++/14071] New: locale::global doesn't always call setlocale
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
locale::global(loc) should call setlocale(LC_ALL, loc.name().c_str()) if
loc is a named locale, but it fails to do so if loc is the result of
combining two named locales with the constructor
locale(const locale&, const locale&, locale::category).
--
Summary: locale::global doesn't always call setlocale
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: peturr02 at ru dot is
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14071