This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/66441] wstring_convert not working correctly
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Jun 2015 13:43:23 +0000
- Subject: [Bug libstdc++/66441] wstring_convert not working correctly
- Auto-submitted: auto-generated
- References: <bug-66441-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66441
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Mon Jun 8 13:42:51 2015
New Revision: 224225
URL: https://gcc.gnu.org/viewcvs?rev=224225&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-5-branch/libstdc++-v3/testsuite/22_locale/conversions/string/66441.cc
Modified:
branches/gcc-5-branch/libstdc++-v3/ChangeLog
branches/gcc-5-branch/libstdc++-v3/include/bits/locale_conv.h