This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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] | |
Paolo Carlini wrote:Ok, thanks.
What do you mean exactly by "garbage" (*)? Could you provide some more info or,
encoding() always returns 4, max_length() always returns 1. This is wrong for all encodings (I think it is provable that max_length() >= encoding()).
Good.even better, a patch, enabling us to use safely the much more correct code on top?
Sure, just copy codecvt.cc and codecvt_members.cc from 3.4 :-) Some changes need to be made to keep things ABI-compatible, but in general this should be easy to backport.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |