diff options
| author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-03 09:26:03 +0000 |
|---|---|---|
| committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-12-03 09:26:03 +0000 |
| commit | ebbbf5070b34eae11488a6adbb0ce25bd75e7af2 (patch) | |
| tree | d545473e5ffb3f7075a188c171bb88f2f686742d /libjava/gnu/java/beans/ExplicitBeanInfo.java | |
| parent | adaf1d614fcbe6f31b0f4a3d30f23137aa007a02 (diff) | |
| download | ppe42-gcc-ebbbf5070b34eae11488a6adbb0ce25bd75e7af2.tar.gz ppe42-gcc-ebbbf5070b34eae11488a6adbb0ce25bd75e7af2.zip | |
2003-12-03 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/12791
* include/bits/locale_facets.tcc (time_get::_M_extract_num):
Rewrite, stop the parsing as soon as a digit cannot possibly
lead to a final number within the bounds; otherwise, simplify,
avoiding __ctype.is() and atoi().
* testsuite/22_locale/time_get/get_date/char/12791.cc: New.
* testsuite/22_locale/time_get/get_date/wchar_t/12791.cc: New.
* include/bits/locale_facets.tcc (time_get::_M_extract_via_format):
Minor tweak: a 4-digit integer cannot be bigger than 9999.
* testsuite/22_locale/time_get/get_date/wchar_t/1.cc: Use
type-correct wchar_t string literals.
* testsuite/22_locale/time_get/get_monthname/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_time/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_weekday/wchar_t/1.cc: Ditto.
* testsuite/22_locale/time_get/get_year/wchar_t/1.cc: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@74222 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/gnu/java/beans/ExplicitBeanInfo.java')
0 files changed, 0 insertions, 0 deletions

