]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/src/c++98/localename.cc
re PR libstdc++/29217 (locale confusion with time/collate categories)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 27 Sep 2006 07:08:13 +0000 (07:08 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 27 Sep 2006 07:08:13 +0000 (07:08 +0000)
commit6ae72522633c60b658bf19bc304c4f9fb49f372a
tree79679cf8ed123d71683f6ad60841eb52eab0d5cd
parent2b655a0a4fd99d2221a05f5cb96740e78e4efdeb
re PR libstdc++/29217 (locale confusion with time/collate categories)

2006-09-27  Paolo Carlini  <pcarlini@suse.de>

PR libstdc++/29217
* src/localename.cc (locale::_Impl::_M_replace_categories)):
Compensate for the inconsistent numerical encodings of the
collate and time categories vs the corresponding names.
* testsuite/22_locale/locale/cons/29217.cc: New.

* testsuite/22_locale/locale/cons/2.cc: Enable and split
out the few ENC_TRAITS bits to...
* testsuite/22_locale/locale/cons/unicode/1.cc... here.

From-SVN: r117247
libstdc++-v3/ChangeLog
libstdc++-v3/src/localename.cc
libstdc++-v3/testsuite/22_locale/locale/cons/2.cc
libstdc++-v3/testsuite/22_locale/locale/cons/29217.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/locale/cons/unicode/1.cc [new file with mode: 0644]