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.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22626 invoked from network); 6 Jun 2023 14:29:18 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 6 Jun 2023 14:29:18 -0000 Received: (qmail 11883 invoked by uid 550); 6 Jun 2023 14:29:16 -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 11848 invoked from network); 6 Jun 2023 14:29:15 -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=Z8Pi5yqOF1fMEc0+KJgaqPwgmAxYVRQvsWkSYfneEg4=; b=PSbi9EedfdJGiLRj1BFqIlsZprJaEgQpt97CE07ADPxxl9Mu2My5qUxB 44GZzSibUub+lA+uUU9cs7qZJFCLAOhUdtWM1AA+tNNPprURnHcON+SvQ i449/yDENyqZtLuN4S5H0/zgiO3BhtjXckmTqHFhe2NomW0YfD/6P0iB4 0=; Authentication-Results: mail2-relais-roc.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.00,221,1681164000"; d="scan'208";a="111532346" Date: Tue, 6 Jun 2023 16:29:03 +0200 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Rich Felker Cc: musl@lists.openwall.com Message-ID: <20230606162903.6ba148b8@inria.fr> In-Reply-To: <20230606141919.GX4163@brightrain.aerifal.cx> References: <20230606120215.49359f5c@inria.fr> <20230606124322.GW4163@brightrain.aerifal.cx> <20230606160708.3aab4a26@inria.fr> <20230606141919.GX4163@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_/Blo0cJaBxcl9GiGruMf+5Xk"; protocol="application/pgp-signature"; micalg=pgp-sha1 Subject: Re: [musl] printf("%lc", L'\0') --Sig_/Blo0cJaBxcl9GiGruMf+5Xk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Rich, on Tue, 6 Jun 2023 10:19:19 -0400 you (Rich Felker ) 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. >=20 yes that's what they are proposing as a fallback alternative: =E2=80=A6, 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=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_/Blo0cJaBxcl9GiGruMf+5Xk Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSN9stI2OFN1pLljN0P0+hp2tU34gUCZH9CrwAKCRAP0+hp2tU3 4s9ZAJ9JfTef9ayshZLSeBPaILLIgbUj3gCgk18PCLP+hBKwn5zNNbYcIZshkiM= =UqJS -----END PGP SIGNATURE----- --Sig_/Blo0cJaBxcl9GiGruMf+5Xk--