Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2025 16:47:20 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9819cc22df7c - stable/14 - manuals: Align our tree with upstream C23 macro
Message-ID:  <202507141647.56EGlKWU065313@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=9819cc22df7c49e2a9631c1afdec8bbe988e00b0

commit 9819cc22df7c49e2a9631c1afdec8bbe988e00b0
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2025-05-05 18:52:06 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-07-14 16:44:45 +0000

    manuals: Align our tree with upstream C23 macro
    
    Switch all instances of the -isoC-2024 macro to -isoC-2023 selected by
    upstream. Keep -isoC-2024 defined, but deprecated, for backwards compat.
    
    MFC after:      3 days (resolved merge conflicts w/ cdefs and memccpy.3)
    
    (cherry picked from commit 1b6936e125382523509901a4fc5b2932ed0e742d)
---
 contrib/mandoc/st.c       | 2 ++
 lib/libc/string/memccpy.3 | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c
index 9b9fee4ded17..8a2c687dfc94 100644
--- a/contrib/mandoc/st.c
+++ b/contrib/mandoc/st.c
@@ -56,6 +56,8 @@ LINE("-isoC-tcor1",	"ISO/IEC 9899/TCOR1:1994 (\\(lqISO\\~C90, Technical Corrigen
 LINE("-isoC-tcor2",	"ISO/IEC 9899/TCOR2:1995 (\\(lqISO\\~C90, Technical Corrigendum 2\\(rq)")
 LINE("-isoC-99",	"ISO/IEC 9899:1999 (\\(lqISO\\~C99\\(rq)")
 LINE("-isoC-2011",	"ISO/IEC 9899:2011 (\\(lqISO\\~C11\\(rq)")
+LINE("-isoC-2023",	"ISO/IEC 9899:2024 (\\(lqISO\\~C23\\(rq)")
+/* the -isoC-2024 macro is deprecated in favor of upstream -isoC-2023 */
 LINE("-isoC-2024",	"ISO/IEC 9899:2024 (\\(lqISO\\~C23\\(rq)")
 LINE("-iso9945-1-90",	"ISO/IEC 9945-1:1990 (\\(lqPOSIX.1\\(rq)")
 LINE("-iso9945-1-96",	"ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)")
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index 54498610fde7..4c7bf0101792 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -82,7 +82,7 @@ The
 function conforms to
 .St -p1003.1-2004
 and
-.St -isoC-2024 .
+.St -isoC-2023 .
 .Sh HISTORY
 The
 .Fn memccpy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507141647.56EGlKWU065313>