locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least...
authorPaolo Carlini <pcarlini@suse.de>
Sun, 29 Aug 2004 09:04:33 +0000 (09:04 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 29 Aug 2004 09:04:33 +0000 (09:04 +0000)
commitb8d65dace769b02053ada12d804077904eb1708e
tree61c7f48409aac71aa8ac3e6da7768f5a17c18606
parent750628d8bcdda3394d81f0b16d0703bb7deeb849
locale_facets.tcc (time_get<>::_M_extract_via_format, case 'S'): Allow for at least one leap-second (as per C99...

2004-08-29  Paolo Carlini  <pcarlini@suse.de>

* include/bits/locale_facets.tcc (time_get<>::_M_extract_via_format,
case 'S'): Allow for at least one leap-second (as per C99, 7.23.1
and 7.23.3.5), two if !_GLIBCXX_USE_C99.
* testsuite/22_locale/time_get/get_time/char/4.cc: New.
* testsuite/22_locale/time_get/get_time/wchar_t/4.cc: Likewise.

From-SVN: r86712
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/time_get/get_time/char/4.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/time_get/get_time/wchar_t/4.cc [new file with mode: 0644]