|
Message-ID: <20230625094818.5e6b156c@inria.fr>
Date: Sun, 25 Jun 2023 09:48:18 +0200
From: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
To: musl@...ts.openwall.com
Subject: C23: other last minute changes
Hello,
there were other last minute (in the literal sense of the term)
changes to C23 that might impact musl. I updated the summary page at
https://gustedt.gitlabpages.inria.fr/c23-library/
As far as I can see these are
- `PRI` macros for narrow types now have to be exact, musl does not
seem to conform to this new requirement
- the `lc` specifier for `printf` does print NUL for a nul
character, we already talked about this
For the first, a change is conforming to C17 so it can be done
immediately without problems. The second is in principle a normative
change in C and in POSIX, but it seems that all other POSIX
implementations already are doing this, so probably we should just
fall in line.
There are also
- `mktime` and `timegm` are not supposed to change `tm_wday` if the
conversion fails
- `fputwc` now also sets the error indicator of the stream if an
encoding error occurs. This was previously already required by
POSIX.
I don't think that musl has problems here
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.