Named locales not ok for locales without thousands separator

Paolo Carlini pcarlini@unitus.it
Sun Jan 27 16:58:00 GMT 2002


Hi,

today, for the first time I configured current 3.1 + glibc2.2.5 with
--enable-clocale=gnu (testsuite ok, many XPASSes). Then I wanted to check some
of Peter Schmid testcases, in particular that submitted as part of
libstdc++/5280.

It seems that something is still not ok when the concerned locale has NO
thousands separator (e.g., fr_FR or it_IT). For instance:

paolo:~> setenv LANG fr_FR
paolo:~> a.out
de_DE
cout locale: fr_FR
cin locale: de_DE
1,34
Segmentation fault

or

paolo:~> setenv LANG fr_FR
paolo:~> a.out
it_IT
cout locale: fr_FR
cin locale: it_IT
1,6
(unexpected end)

Thanks,
Paolo.



More information about the Libstdc++ mailing list