From nobody Tue Oct 20 08:12:07 2026 X-Original-To: dev-commits-src-all@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 4j84rm1Y9hz6wcZ4 for ; Tue, 20 Oct 2026 08:12:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4j84rm0J2vz4FRX for ; Tue, 20 Oct 2026 08:12:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792483928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dIMJ5IVSuBMGB8J7mdr8jS/ya0t9R13FnjLOV0dnaS4=; b=IHFemQkD5VmFkj2jB5O/M4ci4DyOGs2YG6t4l+3E6hd/VfmC4F+R29tjf/DgilLkyHAE1b DyomlUCQVOKR7hF9r2TpKgbofF9vvvY+mtcIsTRzygQ+NvRbPya2C0ibGpCgMhUOfztpc0 1i2+EEjBT+rjhAA11vFxtD7PVOPJ+2d2Y7vmfS1gF7zSCOxKnZ8kKEzu5loCzYm4FLb1u/ qP/MdmNVo9mFnlcUc8PXQfprQqGXx/UbFG9FOWJknJ/K5zfUp5bXimFHaAE7bKJni2RvS5 B9bY3qGB0Jri5TDLCR/BCN1nJtzJVLPhMFA7oUSYI36q0P/3lg51fjGwz30YTw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1792483928; b=oIARRQrzZG9vZuIbnPcCpinLI3UUhGQtLYiRXje0BK71Z0II9eSez/HVGOv5mPb9RTYtg6 196+95gColV1bOvz4dYM5G+eOQfR4NsrXtbY0XDENSEFCbdB7YHZzAAoPdOvkkAFrwy4F2 U6UWN9YaJtbvYLUqEbRTmc+nZJXdPggrtYLcvwjO3xs2JnFuMrCjV8cJOl1XMM7KjTpb8u +CwyEhiewKPd5CmWhlkGATsC0L2F+vfxuBVVyPy1RhR8GWK4djiYxF46ZyxdiFxT/Gk9b6 ImhmrcS7rkQ1xe1VzlZAkiBWyG7P+CIjo+Oh3uKBcOVBR6W1/L4f+JcW8jffTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1792483928; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dIMJ5IVSuBMGB8J7mdr8jS/ya0t9R13FnjLOV0dnaS4=; b=qPGn1+WYy6dRkLPCqYteyKErQrr1WM5tx2M3V7fA2pFWR6/4+S5ZsiJU/U4eoEMpTiDkDA HAlPFQSJNBTy/2UKPY/vCnuHoZoWK87hmzv4QXK0gcb9Aj0LeARi66fNKJ2GhAfVE254jz JdUGPoxVki20pgS2kf9jaf8y5hhl8aVOI2BFoiHDJAJYBn2nzm81XCPNCU9wQR/Ehk4RNx XdJjuI8bDuLD6IozHRSTdZNDVUhrZ71jwd0RVpZV6Jyj/5Bg6TZP0/C3zhJ+S+tvd9UCD5 Fj7QZ31YCoQyNYo2P672ukJmKbQEqWDyFHEgzy3Xq8aWi0+mrLdpvH6BWoFHHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4j84rl6dy6z10Dd for ; Tue, 20 Oct 2026 08:12:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 40234 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 20 Oct 2026 08:12:07 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Faraz Vahedi Subject: git: 8f766130607e - stable/15 - libc: Add _PRINTF_NAN_LEN_MAX per C23 List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kfv X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 8f766130607ea84c129862deeec414dc1ebe2451 Auto-Submitted: auto-generated Date: Tue, 20 Oct 2026 08:12:07 +0000 Message-Id: <6ad72257.40234.2f146861@gitrepo.freebsd.org> The branch stable/15 has been updated by kfv: URL: https://cgit.FreeBSD.org/src/commit/?id=8f766130607ea84c129862deeec414dc1ebe2451 commit 8f766130607ea84c129862deeec414dc1ebe2451 Author: Faraz Vahedi AuthorDate: 2026-08-14 11:43:23 +0000 Commit: Faraz Vahedi CommitDate: 2026-10-20 08:09:33 +0000 libc: Add _PRINTF_NAN_LEN_MAX per C23 Reviewed by: fuz Approved by: fuz (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D58842 (cherry picked from commit 10d5a548596ce7c111ea4a463d3f7d5f0cb1ae4f) --- include/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/stdio.h b/include/stdio.h index 753c7f3df03f..ea016d65095d 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -220,6 +220,10 @@ __END_DECLS #endif #define FILENAME_MAX 1024 /* must be <= PATH_MAX */ +#if __ISO_C_VISIBLE >= 2023 +#define _PRINTF_NAN_LEN_MAX 3 +#endif + /* System V/ANSI C; this is the wrong way to do this, do *not* use these. */ #if __XSI_VISIBLE #define P_tmpdir "/tmp/"