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=-2.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,MISSING_HEADERS,RCVD_IN_DNSWL_MED, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30083 invoked from network); 24 Jun 2023 13:22:13 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 24 Jun 2023 13:22:13 -0000 Received: (qmail 1309 invoked by uid 550); 24 Jun 2023 13:22:09 -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 1277 invoked from network); 24 Jun 2023 13:22:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:cc:subject:message-id:in-reply-to:references: mime-version; bh=cJaV63j08OfJXGD8Ppn6TCflYx8l0jHqzlNNGV8mXaA=; b=ag7/w+YWQI5s3R38XxCBOhDL1sogQKkBZuz2wGPksyJWLOsCt13bCbff jcE0gIm4GPWmre7Fs8WbdgzwvMQR20FFawtlmXwagNHD4SHRMZ+4azPEb g+rX9GdZ6z302Ryi5LcHWVvbD9looH2AyKeoRNSNHar94kOSX2qNwWCXy A=; 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="6.01,155,1684792800"; d="scan'208";a="59712131" Date: Sat, 24 Jun 2023 15:21:55 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt Cc: musl@lists.openwall.com Message-ID: <20230624152155.2e011149@inria.fr> In-Reply-To: <20230606124322.GW4163@brightrain.aerifal.cx> References: <20230606120215.49359f5c@inria.fr> <20230606124322.GW4163@brightrain.aerifal.cx> 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_/i7T6EGuC5.vBA8mRThc2Zu/"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] printf("%lc", L'\0') --Sig_/i7T6EGuC5.vBA8mRThc2Zu/ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rich, on Tue, 6 Jun 2023 08:43:22 -0400 you (Rich Felker ) wrote: > On Tue, Jun 06, 2023 at 12:02:15PM +0200, J=E2=82=91=E2=82=99=E2=82=9B Gu= stedt wrote: > > Hello, > > the Austin Group has a bug at > >=20 > > https://austingroupbugs.net/view.php?id=3D1647 > >=20 > > that lead to a (quite late) ballot comment for C23. It seems that > > musl is the only implementation here that plays by the book and has > > no byte of output at all for this call > >=20 > > printf("%lc", L'\0'); > >=20 > > All others seem to be more consistent with the other "c" output > > formats and print one NUL byte. > >=20 > > Are there any feelings if we are going to change this in the sense > > as AG proposes? =20 >=20 > Provided the change is to be aligned between POSIX and ISO C, and that > all existing historical implementations except musl do the thing > that's proposed, I don't think I have any objection to the change. > It's a little more work and less elegant on the implementation side. In this week's last round of ballot resolution WG14 chose option 1, so this change. > Is it really confirmed that all historical C implementations, not just > all historical POSIX ones, differ from the specification in this way? > That seems rather surprising (and amusing that nobody else bothered to > read the spec when implementing). It would be nice to make sure > they're informed and in agreement on this, if there are any others. There was only time to check this for implementation that were there (in particular IBM) but WG14 chose to do this regardless of this lack of information. 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_/i7T6EGuC5.vBA8mRThc2Zu/ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZJbt8wAKCRAP0+hp2tU3 4tiSAJ4msf8lLbTwwf18cTsap/W6BOPh5wCdEC8iPs1Q3CjExTtoRYpY3+Fr02A= =25WE -----END PGP SIGNATURE----- --Sig_/i7T6EGuC5.vBA8mRThc2Zu/--