From nobody Sun Jun 21 22:23:32 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gk5TK0RLDz6hvZ3 for ; Sun, 21 Jun 2026 22:23:49 +0000 (UTC) (envelope-from kfv@kfv.io) Received: from outbound.qs.icloud.com (qs-2007a-snip4-11.eps.apple.com [57.103.84.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4gk5TJ2gKjz45rr for ; Sun, 21 Jun 2026 22:23:48 +0000 (UTC) (envelope-from kfv@kfv.io) Authentication-Results: mx1.freebsd.org; none Received: from outbound.qs.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-east-2d-20-percent-0 (Postfix) with ESMTPS id 04DBA18000AD; Sun, 21 Jun 2026 22:23:46 +0000 (UTC) X-ICL-Out-Info: HUtFAUMHWwJACUgATUQeDx5WFlZNRAJCTQ1OHVwBXxxHAVYCXQRLVxQEE1UbdwBUBhcRXE1RDw8bXw4dBFhLQBMETxMFUgddTVYNRw9YHlwUFwlAQ14IXh9MHB0OWAYSAE0KDjYGWQVeCVYDQwU2EhRdRVgLQUVbHxkVWgkKVwtEfE11WwZYH0MASwNAA10GMhQ5cFwHRgZJDUsBXgcoAEALTXMGUR0cGVZGExlOG1dNWg1AGVgGbRRWFVIEWQ== Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kfv.io; s=sig1; t=1782080627; x=1784672627; bh=9xLNq4WTZisfg/QcLIWf+9skWlXhvH/IszYVlQ0s1Xo=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To:x-icloud-hme; b=bVykuuKbhWzjWYqYoAwSCBA82uc79CKFz2fef0rZGcsoboZSSfmwyt72yRmw+oxnJRFEwZEvn+EeqBBMcf51dFHcrIxwVGX1EMb3OlV96tjTa6IPsGqZwv9t44ET70RNgFXbkDJso1FIMVQ8nt9T+hPUSRHRCf1ySJNmPgdlqEBc54oX4YM5iqoUXaoICEzeVax/mmTZSgT5zNufHW2p4cu1aROJgvnExlSc7sqMfWi2uWulDBHgImJVAy9xzdg86qTMOrb3Bw4vexHgm/7OXVO+si8OZUrwTE2owat4xtsjiOStGEfjwI9/bElfxBdiNYqwlzmv0vYINrWzGRCC9w== mail-alias-created-date: 1649693719123 Received: from smtpclient.apple (unknown [17.57.155.37]) by p00-icloudmta-asmtp-us-east-2d-20-percent-0 (Postfix) with ESMTPSA id 24CDF18000B5; Sun, 21 Jun 2026 22:23:44 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_08F512C1-75C5-4EDD-89B5-12DCBEBD9632"; protocol="application/pgp-signature"; micalg=pgp-sha256 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.100.1.1.5\)) Subject: Re: git: 28cecfe27964 - main - libc: Restrict ATOMIC_VAR_INIT for C23 conformance From: Faraz Vahedi In-Reply-To: Date: Mon, 22 Jun 2026 01:53:32 +0330 Cc: Mark Millard , Warner Losh , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org, Nuno Teixeira Message-Id: <94E5F613-3930-464B-AC10-4943230C2025@kfv.io> References: <6a35ddd3.22963.721d614@gitrepo.freebsd.org> <4e902fcf-e79c-47b5-a51f-4881c09f7528@yahoo.com> To: Warner Losh X-Mailer: Apple Mail (2.3864.100.1.1.5) X-Proofpoint-ORIG-GUID: vRDH40jpTKbc5x1oRg01mmeGAOC3MHV0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNjIxMDIyOSBTYWx0ZWRfX0pMQF0FkfZK6 PCmeKM29fgX7unIKi3BlLy3man4JYT8NwuFkz3p/km9cQhyZHHFHVvI+56vlV/HwTWpX+Ezvogt ZukSmO2G0uHa4x6L1tn7B8rKT7wpNzKMBQyHh3QvN6D8rOnA8faBV9c/UN8S7vPl0y+QgCiiegJ i6IOsb7nfGqEMuBVvz0P1IsEiH+aC4m7oWssgeRIHlgGVf06vAvaonxfHMbbpimhE7QIglhTa0l athTfJmY/YIcCrsMzK5NB+o7NOdEDh878MMgGhQh3G41sdYADj4XJ6VzefsWCyc45HNSE8znl4d 655GrxFGkq6UUQ838AI X-Proofpoint-GUID: vRDH40jpTKbc5x1oRg01mmeGAOC3MHV0 X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:714, ipnet:57.103.84.0/22, country:US] X-Rspamd-Queue-Id: 4gk5TJ2gKjz45rr X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated --Apple-Mail=_08F512C1-75C5-4EDD-89B5-12DCBEBD9632 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Hello everyone, My sincere apologies for replying so late and for missing the thread. D57724 looks reasonable, but I would probably just change the gate from __ISO_C_VISIBLE to __STDC_VERSION__. I think that is what I should have done in the first place. That would make more sense for obsolete language constructs, I believe. This way, __ISO_C_VISIBLE is kept solely for API visibility, and strict rules of a specific language mode are checked against the exact mode in use, rather than what API interfaces we have decided to expose. So exposure is not constrained, just determined independently. I think this is the subtle distinction I failed to keep in mind while I was working on the patch. Please let me know what you all think, and again, please accept my apologies for missing both the thread and the review of D57724. Cheers, Faraz P.S. As a minor follow-up, it may be worth revisiting whether gating via __STDC_VERSION__ < 202311L would be preferable to the recently committed __BSD_VISIBLE condition, as it aligns more directly with language standard level rather than exposure of the platform-specific interfaces. --Apple-Mail=_08F512C1-75C5-4EDD-89B5-12DCBEBD9632 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEnunneCmADnpNx8ZMLdpU9MVz/74FAmo4ZGQACgkQLdpU9MVz /76V+hAAxv/sZni8vGTpnrt/K3uulchyTbtzQ9eJsxn0P6MxE8bIsZ4ZdGJtlvU1 H+YphK5cbSn2nXI2xDoog8SgyTkciRen6sYVqEY4Llg100S9yuIsQfdgRtzSn3FX UF+9ZENXKIP/KeIWs30wXl4kxH58TVx48gbGto9hLTcI0RTnSLeh4UQc1ATc82bm 4WSAJv5DgPMG/3mmDQ3NuOiUQNwtbz2vOa0+2ZAKszgJmdJATJEClHEjkt3f4iac aMcKAyddvJ/YBGsuKOPjwGXgyeit6ZpYZoTRInJq++4kFl8OXQv3h7YFMTERCCV1 2sA1Sw0nLM97fEPFs2LXUsn2PBOX+19gHNj63of55Z72gUBmFH+/YaOLsNZXAlCL jljNvxPfMtRYEIQ+RtxgWnzGOJd1lCIVM3+r/jOulLvGRhJLaEwXguYHJeOFzIoH fPoz+hofoMoWxkoDHp42KlDO2XyBDJF5f6rhaAmP8zJ0ckOHYF7LdFC8q3b8GNab oxXqWM4Sq7sJQTk4TQfwPAViEX7K5WHiuCWMG9y0DuUtuAj4Gukw06DUARCczHIg JcxVmh8FbBkAgW+zDNFcr4ITwwSh51TQ+Gp1Bxrr8oft2fwHI+l7JRedMQhwQEz8 I1FIstIlk0O5M+4l6Pd1hFky33elZ4pWX4VW+yTBtv/HhWj4yNs= =AuVf -----END PGP SIGNATURE----- --Apple-Mail=_08F512C1-75C5-4EDD-89B5-12DCBEBD9632--