[RFC] Update on the EURO issue

Paolo Carlini pcarlini@unitus.it
Mon Apr 15 14:07:00 GMT 2002


Hi again,

in the meanwhile I have managed to find answers to all my doubts about 
the impact of the EURO switch on the monetary locale.

Essentially, what I have done is the following: I have diff-ed 
localedata/tests-mbwc/dat_strfmon.c for glibc2.2.5 and for 
glibc-head-cvs (result attached, those for glibc-2.2-cvs are identical). 
Also, I have studied the relevant glibc ChangLog.

Basically:
1- All the EU monetary locales (de_DE included) after January, 28th are 
identical to the previous ones apart from the switch to the EUR symbol.
2- Each xx_XX@euro locale is now identical to the corresponding xx_XX 
locale.

Which is the impact of this on the v3 testsuite?

On systems using glibc2.2.x, x >5 and glibc2.3 all the expected DM and 
DEM should be changed to EUR in the testsuite. Also, probably fr_FR@euro 
should be changed to the equivalent and simpler fr_FR.

The glibc2.3 case would be easy to deal with (specializing the money_get 
and money_put tests for (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2) but what 
about glibc2.2.x, x >5?

Thanks, Paolo.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dat_strfmon.c.diff
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020415/9ceb298c/attachment.ksh>


More information about the Libstdc++ mailing list