This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/66441] wstring_convert not working correctly


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]