PR libstdc++/17038 (partial)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 25 Aug 2004 23:38:29 +0000 (23:38 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 25 Aug 2004 23:38:29 +0000 (23:38 +0000)
commitcb7930898721b14def216a5cf3b8bd619b1dbc52
treecd9586c361c21f24a5b329f3c983a4a4701cc9b9
parent6d1c50cce40910b7015fefa7ce6c632c750bda22
PR libstdc++/17038 (partial)

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

PR libstdc++/17038 (partial)
* include/bits/locale_facets.tcc (time_put<>::do_put): Increase
__maxlen to 128.
* include/bits/locale_facets.h (class __timepunct): Add FIXME
comment about _M_put.
* config/locale/generic/time_members.cc (_M_put): Always null
terminate __s.
* config/locale/gnu/time_members.cc (_M_put): Likewise.
* testsuite/22_locale/time_put/put/char/17038.cc: New.
* testsuite/22_locale/time_put/put/wchar_t/17038.cc: New.

From-SVN: r86586
libstdc++-v3/ChangeLog
libstdc++-v3/config/locale/generic/time_members.cc
libstdc++-v3/config/locale/gnu/time_members.cc
libstdc++-v3/include/bits/locale_facets.h
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/time_put/put/char/17038.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/time_put/put/wchar_t/17038.cc [new file with mode: 0644]