This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r130461 - in /branches/gcc-4_2-branch/libstdc++...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 27 Nov 2007 01:59:59 -0000
- Subject: r130461 - in /branches/gcc-4_2-branch/libstdc++...
Author: paolo
Date: Tue Nov 27 01:59:59 2007
New Revision: 130461
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130461
Log:
2007-11-26 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_put<>::_M_insert_int): When
ios_base::showpos and the type is signed and the value is zero,
prepend +.
* testsuite/22_locale/num_put/put/char/12.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/12.cc: Likewise.
Added:
branches/gcc-4_2-branch/libstdc++-v3/testsuite/22_locale/num_put/put/char/12.cc
branches/gcc-4_2-branch/libstdc++-v3/testsuite/22_locale/num_put/put/wchar_t/12.cc
Modified:
branches/gcc-4_2-branch/libstdc++-v3/ChangeLog
branches/gcc-4_2-branch/libstdc++-v3/include/bits/locale_facets.tcc