------- Comment #8 from paolo at gcc dot gnu dot org  2010-01-07 00:23 -------
Subject: Bug 26701

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.carl...@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


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26701

Reply via email to