From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: from mandoc.bsd.lv (bsd.lv [66.111.2.12]) by inbox.vuxu.org (Postfix) with ESMTP id 538D023C00 for ; Thu, 2 Jan 2025 14:34:35 +0100 (CET) Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 547e8b97 for ; Thu, 2 Jan 2025 13:34:34 +0000 (UTC) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 34d79a00 for ; Thu, 2 Jan 2025 13:34:34 +0000 (UTC) Date: Thu, 2 Jan 2025 13:34:34 +0000 (UTC) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Add an .St argument for C23. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <9500914c76f86e33@mandoc.bsd.lv> Log Message: ----------- Add an .St argument for C23. The mismatch of the year numbers ist not a typo. The official name is "ISO/IEC 9899:2024", so the "4" is correct there. But as a colloquial name, "C23" is more widespread than "C24", probably because __STDC_VERSION__ == 202311L: The final version of the standard was ready in 2023, only formally publishing it took about 11 months after it was ready. The main reason for choosing "-isoC-2023" as the .St argument is to match what NetBSD already committed to their tree. Also, it aligns well with the existing "-isoC-2011". Based on an incorrect patch from Thomas Klausner , fixed by me. OK jmc@ Modified Files: -------------- mandoc: st.c Revision Data ------------- Index: st.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/st.c,v diff -Lst.c -Lst.c -u -p -r1.18 -r1.19 --- st.c +++ st.c @@ -54,6 +54,7 @@ LINE("-isoC-tcor1", "ISO/IEC 9899/TCOR1: 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)") LINE("-iso9945-1-90", "ISO/IEC 9945-1:1990 (\\(lqPOSIX.1\\(rq)") LINE("-iso9945-1-96", "ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)") LINE("-iso9945-2-93", "ISO/IEC 9945-2:1993 (\\(lqPOSIX.2\\(rq)") -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv