r155685 - in /trunk/libstdc++-v3: ChangeLog doc...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Thu Jan 7 00:22:00 GMT 2010


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



More information about the Libstdc++-cvs mailing list