This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r155685 - in /trunk/libstdc++-v3: ChangeLog doc...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 07 Jan 2010 00:22:51 -0000
- Subject: r155685 - in /trunk/libstdc++-v3: ChangeLog doc...
Author: paolo
Date: Thu Jan 7 00:22:51 2010
New Revision: 155685
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155685
Log:
2010-01-06 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/26701
* include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
Encode short two digits over four parsings to negative numbers.
(time_get<>::_M_extract_via_format): Adjust, accept both two digits
and four digits for both 'y' and 'Y'.
(time_get<>::do_get_year): Call time_get<>::_M_extract_num.
* doc/xml/manual/prerequisites.xml: Add en_GB.
* testsuite/lib/libstdc++.exp: Adjust
* testsuite/22_locale/time_get/get_date/char/26701.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
Added:
trunk/libstdc++-v3/testsuite/22_locale/time_get/get_date/char/26701.cc
trunk/libstdc++-v3/testsuite/22_locale/time_get/get_date/wchar_t/26701.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/doc/xml/manual/prerequisites.xml
trunk/libstdc++-v3/include/bits/locale_facets_nonio.tcc
trunk/libstdc++-v3/testsuite/lib/libstdc++.exp