[v3] fix num_put/.../9780-2 for recent glibcs

Benjamin Kosnik bkoz@redhat.com
Thu Dec 15 19:15:00 GMT 2011


This removes a new fail that happens on bleeding edge linux with 
the testcase in the subject line. 

The behavior of the es_ES locale with respect to grouping has changed
in some version of glibc around 2.14.90-x. It used to have no grouping,
and now it has the usual "/003/003" grouping that one would expect. So,
I've modified the test case to deal with both cases, and add some
commentary. 

With this, libstdc++ is back to zero fails on F16. Yay.

Tis a bit of a hack, but there is no ios_base::showgrouping and
corresponding manipulator to control the output of grouping characters
in the standard. I consider this a bug, and am in support of resolving
LWG-982 in a way that has some utility to C++ programmers. To this end,
I have drafted language for a proposed resolution and sent it to the LWG
chair.

best,
Benjamin

tested x86/linux f14  -- glibc-2.13-2
tested x86/linux f16  -- glibc 2.14.90-21
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20111215-1.patch
Type: text/x-patch
Size: 2425 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20111215/588f4ccd/attachment.bin>


More information about the Libstdc++ mailing list