libstdc++/8539: 22_locale
bkoz@gcc.gnu.org
bkoz@gcc.gnu.org
Thu Nov 14 10:14:00 GMT 2002
Synopsis: 22_locale
State-Changed-From-To: closed->feedback
State-Changed-By: bkoz
State-Changed-When: Thu Nov 14 10:14:54 2002
State-Changed-Why:
Paolo, a bit of a clarification.
This issue cannot be reproduced on linux, because it uses the gnu locale model that actually implements named locales. For other configurations, namely cygwin, a different configuration is used, ie the generic config. In this configuration, the bug can be reproduced.
The generic config does not attempt to create accurate named locales and instead all "named locales" use the "C" locale. Because of this, attempts to create fake or non-existent named locales (as in the test case) will "succeed" in that they are created (but contain only "C" locale info.)
This is a QOI issue, but not a bug. The standard allows implementation-defined behavior on this point: the generic locale model's defined behavior is to allow it.
Funding to implement a more useful generic locale model is not forthcoming. Patches to implement it have also not been forthcoming. When either of these change, the generic locale model will be more interesting.
-benjamin
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8539
More information about the Gcc-bugs
mailing list