[SG16-Unicode] WG14: N 2358 goes into C2X, could make implementations of mblen() non-compliant

Tom Honermann tom at honermann.net
Fri May 3 23:04:21 CEST 2019


Thank you for keeping us informed!

This particular information would probably reach the intended audience 
of implementors better via the Library Working Group list 
(lib at lists.isocpp.org).  If you aren't subscribed, let me know and I can 
forward.

This sounds like a good change to me :)

Tom.

On 5/3/19 2:33 PM, Philipp Klaus Krause wrote:
> Today, WG14 voted N 2358 into C2X. This makes mblen() thread-safe by
> disallowing the use of internal state in that function.
>
> Since this could make existing implementations non-compliant (though
> only one C implementation is known to be affected that way), we thought
> that it would be good to notify you, so any C++ implementations would
> know as early as possible, and could, if necessary, fix their mblen().
>
> The C++ standard contains mblen(), and leaves the semantics of this
> function to be specified by the C standard.
>
> Philipp
> _______________________________________________
> SG16 Unicode mailing list
> Unicode at isocpp.open-std.org
> http://www.open-std.org/mailman/listinfo/unicode




More information about the Unicode mailing list