Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 6 Jun 2023 16:29:03 +0200
From: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: printf("%lc", L'\0')

Rich,

on Tue, 6 Jun 2023 10:19:19 -0400 you (Rich Felker <dalias@...c.org>)
wrote:

> In that case I would probably lean towards asking AG to instead make a
> change to (CX shaded) "it is unspecified whether a single zero byte is
> written or the conversion has no output" and not imposing a change on
> potentially unaware C implementations that have nothing to do with
> POSIX, nor imposing a requirement to conflict with ISO C.
> 

yes that's what they are proposing as a fallback alternative:

    …, except that if the `wint_t` argument is a null wide character
    it is unspecified whether it is converted to no bytes or to a null
    byte.

> I really doubt there is anyone who cares about the specific behavior
> in this case, but it seems unprofessional to do something like this
> last-minute.

indeed

> "Future directions" notes could be added that this might change.

maybe


Thanks
Jₑₙₛ

-- 
:: ICube :::::::::::::::::::::::::::::: deputy director ::
:: Université de Strasbourg :::::::::::::::::::::: ICPS ::
:: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus ::
:: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 ::
:: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.