C++ Logo

SG16

Advanced search

Subject: Re: [SG16-Unicode] WG14: N 2358 goes into C2X, could make implementations of mblen() non-compliant
From: Tom Honermann (tom_at_[hidden])
Date: 2019-05-03 16:04:21


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_[hidden]).  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_[hidden]
> http://www.open-std.org/mailman/listinfo/unicode


SG16 list run by herb.sutter at gmail.com