On Thu, 16 Nov 2017 16:19:52 +0100, Stefan Sperling wrote:

> I would expect EILSEQ during %lc and %ls conversions which explicitly
> expect wide characters as arguments, but not for arbitrary data that
> happens to be part of the format string.

It is worth noting that this restriction is a POSIX extension not
present in the C standard.

Also, POSIX isn't explicit as to whether that restriction applies
to the format string or just the arguments to %lc and %ls conversions.

What it does say is:

    The format is composed of zero or more directives: ordinary
    characters, which are simply copied to the output stream, and
    conversion specifications, each of which shall result in the
    fetching of zero or more arguments.

I don't think the proposed change makes us non-compliant.

 - todd

Reply via email to