2006-09-27 Paolo Carlini <pcarlini@suse.de>
commit01335ba725cb49822f49ae953424823f42c86752
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Sep 2006 07:08:13 +0000 (27 07:08 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Sep 2006 07:08:13 +0000 (27 07:08 +0000)
tree79679cf8ed123d71683f6ad60841eb52eab0d5cd
parent458caa241dc32254a638b0306465d91835864c86
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117247 138bc75d-0d04-0410-961f-82ee72b054a4
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]