]> gcc.gnu.org Git - gcc.git/commit
re PR libstdc++/9817 (collate::compare doesn't handle nul characters.)
authorPetur Runolfsson <peturr02@ru.is>
Fri, 7 Mar 2003 17:24:47 +0000 (17:24 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 7 Mar 2003 17:24:47 +0000 (17:24 +0000)
commit5040d6912ccf32e1b3baed1e0a2d9dd475bbf853
tree3638203253ada01c3aff257220d05fc1709d6cbb
parentdfa7f440a0707790955bb04b0cb3096d9a647798
re PR libstdc++/9817 (collate::compare doesn't handle nul characters.)

2003-03-07  Petur Runolfsson  <peturr02@ru.is>

PR libstdc++/9817
* include/bits/locale_facets.tcc
(collate::do_compare, collate::do_transform):
Handle nul characters in input.
* testsuite/22_locale/collate/compare/char/3.cc:  New test.
* testsuite/22_locale/collate/compare/wchar_t/3.cc:  New test.
* testsuite/22_locale/collate/transform/char/3.cc:  New test.
* testsuite/22_locale/collate/transform/wchar_t/3.cc:  New test.

From-SVN: r63946
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_facets.tcc
libstdc++-v3/testsuite/22_locale/collate/compare/char/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/collate/compare/wchar_t/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/collate/transform/char/3.cc [new file with mode: 0644]
libstdc++-v3/testsuite/22_locale/collate/transform/wchar_t/3.cc [new file with mode: 0644]
This page took 0.055738 seconds and 5 git commands to generate.