From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8475 invoked from network); 15 Apr 2023 12:52:58 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 15 Apr 2023 12:52:58 -0000 Received: (qmail 32328 invoked by uid 550); 15 Apr 2023 12:52:56 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 32287 invoked from network); 15 Apr 2023 12:52:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version; bh=P2KG9D5gg7aFXdhxh8AFTTflE1VpdxxeZM8GSsYVdo8=; b=OuYpEQXuM/5bTdshiCxko4ZvC16A0mcjiQe3PwvI0p2fhIVjwveJXTck 9AtDsS7OJbQatIWPofRvSbwR5UR1SN++BBWUSEN9rw5CoReokTaf06Rp/ hI7u4SrPPMFp6P4WNmpRJ+DTbjlHMbyzSvSswmLib0zUzBdVhEDYK6Axo 0=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=jens.gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="5.99,199,1677538800"; d="scan'208";a="53434308" Date: Sat, 15 Apr 2023 14:52:42 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Gabriel Ravier Cc: musl@lists.openwall.com Message-ID: <20230415145242.6ec51d69@inria.fr> In-Reply-To: References: <20220908163649.634728-1-gabravier@gmail.com> Organization: inria.fr X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) X-Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACRQTFRFERslNjAsLTE9Ok9wUk9TaUs8iWhSrYZkj42Rz6aD3sGZ MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/3e+3T60/lKxMc+BbeWKWvq4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] [PATCH v2 1/1] vfprintf: support C2x %b and %B conversion specifiers --Sig_/3e+3T60/lKxMc+BbeWKWvq4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I was just working on these things, too. So great, one thing less on my list. Patch looks fine, but for the parts with the prefix, which I find suspicious, anyhow, too much black magic for me. What is still missing then, is to add PRIxYYY macros. With the latest draft https://open-std.org/JTC1/SC22/WG14/www/docs/n3096.pdf these become mandatory feature tests for this feature. I already have a patch for that. I also have already patches for - the wN and wfN length modifiers - an extension towards `[u]int128_t` - adding the `*_WIDTH` macros And I will soon be starting on the similar features for `scanf` and friends. There is one problem zone for that, namely that `0b` prefixes are not only extensions but change semantics of existing executables that would be linked against different versions of the C library. My plan is to make the distinction deep down in `__intscan` and have that internal function in two versions `__intscan_c17` and `__intscan_c23`, say. Thanks J=E2=82=91=E2=82=99=E2=82=9B --=20 :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Universit=C3=A9 de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: =E2=98=8E +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt :: --Sig_/3e+3T60/lKxMc+BbeWKWvq4 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZDqeGgAKCRAP0+hp2tU3 4oYIAJ4pFJq04JnL9oImHdtj+j7PtVX2dACePewVQjZu5p9x/W8gcjfStBGBgjw= =eAYi -----END PGP SIGNATURE----- --Sig_/3e+3T60/lKxMc+BbeWKWvq4--