[v3] Fix for grouped, showbased hex and oct zero
Paolo Carlini
pcarlini@unitus.it
Fri Sep 27 16:12:00 GMT 2002
Hi,
the below fixes a corner case for num_put::_M_widen_int, which
I have noticed while analyzing libstdc++/7989.
Tested on x86-linux, approved by Benjamin.
Ciao, Paolo.
///////////
2002-09-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_widen_int):
Deal correctly with grouped, showbased (oct or hex) zero.
* testsuite/22_locale/num_put_members_char.cc: Add test05.
* testsuite/22_locale/num_put_members_wchar_t.cc: Ditto.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_gzoh
Type: text/x-diff
Size: 3607 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20020927/6e42f684/attachment.bin>
More information about the Gcc-patches
mailing list