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 5292 invoked from network); 25 Jun 2023 07:27:14 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 25 Jun 2023 07:27:14 -0000 Received: (qmail 3339 invoked by uid 550); 25 Jun 2023 07:27:10 -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 3301 invoked from network); 25 Jun 2023 07:27:09 -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=YnvflAHFG2mFSMmpKeDXHxIAYDrHtcWBgiEne0wYzxo=; b=hPFqD+Hr6eTUj1qNlkDNNZ08731ihNIml8lgLOYlJkIsdDfwTDM5It4w RzJwcvzCLjpnqJGWI/efHBLOVtLu4MeIWGST2kqqx99LlDIlnBZYwr8w4 FyQrwl72CDu0/e0VcU7a/DKsFcFf7EJ+aiIRLr/s/LlsKLWghORpQmJ0D 4=; 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,156,1684792800"; d="scan'208";a="59735617" Date: Sun, 25 Jun 2023 09:26:56 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt Cc: musl@lists.openwall.com Message-ID: <20230625092656.6c23c6de@inria.fr> In-Reply-To: <20230624172454.GP4163@brightrain.aerifal.cx> References: <20230606120215.49359f5c@inria.fr> <20230606124322.GW4163@brightrain.aerifal.cx> <20230624152155.2e011149@inria.fr> <20230624172454.GP4163@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_/y9X+2xGvDgOQVbW/CdL./ym"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] printf("%lc", L'\0') --Sig_/y9X+2xGvDgOQVbW/CdL./ym Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rich, on Sat, 24 Jun 2023 13:24:55 -0400 you (Rich Felker ) wrote: > OK, so to be clear, WG14 is making the change proposed in > https://austingroupbugs.net/view.php?id=3D1647 and changing the standard > to specify that printf("%lc", L'\0') should produce 1 NUL character? yes the text that was adopted reads If an `l` length modifier is present, the `wint_t` argument is converted as if by a call to the `wcrtomb` function with a pointer to storage of at least `MB_CUR_MAX` bytes, the `wint_t` argument converted to `wchar_t`, and an initial shift state. 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_/y9X+2xGvDgOQVbW/CdL./ym Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZJfsQQAKCRAP0+hp2tU3 4m62AJ9Laxpf0+a/u4kGKhj43slLJ/Iy5wCfbZ44lGWqsFXMb2c1Lh6e+NLKD7s= =5YE9 -----END PGP SIGNATURE----- --Sig_/y9X+2xGvDgOQVbW/CdL./ym--