re PR libstdc++/15565 ([3.4 only] SLES9: leading + sign for unsigned int with showpos)
authorPaolo Carlini <pcarlini@suse.de>
Sat, 22 May 2004 09:02:56 +0000 (09:02 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 22 May 2004 09:02:56 +0000 (09:02 +0000)
commitfea6ecb7464fd19e3981a6297a30ecc7981de4b2
tree2346b565ad433bbd92094298b023937aa6294519
parent0bc0f41de71d12f9209664eb35dfba0048d4998c
re PR libstdc++/15565 ([3.4 only] SLES9: leading + sign for unsigned int with showpos)

2004-05-22  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/15565
* include/bits/locale_facets.tcc (__int_to_char(unsigned long),
__int_to_char(unsigned long long)): Showpos is not relevant
for unsigned types.
* testsuite/22_locale/num_put/put/char/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.

* testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
char.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.

From-SVN: r82128
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/num_put/put/char/15565.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/15565.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/4.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/5.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/6.cc
libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/8.cc