PR libstdc++/66441
commit0e22bb08f9ee34ccbdc1626d2533e24744634f35
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 13:03:45 +0000 (8 13:03 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jun 2015 13:03:45 +0000 (8 13:03 +0000)
tree1788fc16b7a5e41402b9ab33838a01415f361fa1
parent4e30dcb337641e98f2b52ed51b5f06e6fc402ad0
PR libstdc++/66441
* testsuite/22_locale/conversions/string/66441.cc: New.
* include/bits/locale_conv.h (__do_str_codecvt): Reserve enough space
in the output string for BOM and complete result.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@224222 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/locale_conv.h
libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc [new file with mode: 0644]