I removed the remaining references of "POSIX 202x" and made sure the
commentary was still accurate to POSIX 2024.
I'm not sure when the removed functions should be moved to
doc/pastposix-functions/ . Maybe when the HTML pages are released?

Collin

>From 0ba13435a9362bec0ff5fd0830907b9fac723e41 Mon Sep 17 00:00:00 2001
From: Collin Funk <collin.fu...@gmail.com>
Date: Sun, 30 Jun 2024 16:29:01 -0700
Subject: [PATCH] doc: Remove references to POSIX 202x.

* doc/posix-functions/encrypt.texi: Document as obsolete in
POSIX.1-2024.
* doc/posix-functions/inet_addr.texi: Likewise.
* doc/posix-functions/inet_ntoa.texi: Likewise.
* doc/posix-functions/setkey.texi: Likewise.
* doc/posix-functions/ftw.texi: Document as removed in POSIX.1-2024.
Link the POSIX.1-2017 specification.
* doc/posix-functions/getitimer.texi: Likewise.
* doc/posix-functions/setitimer.texi: Likewise.
* doc/posix-functions/toascii.texi: Likewise.
---
 ChangeLog                          | 14 ++++++++++++++
 doc/posix-functions/encrypt.texi   |  2 +-
 doc/posix-functions/ftw.texi       |  6 +++---
 doc/posix-functions/getitimer.texi |  6 +++---
 doc/posix-functions/inet_addr.texi |  2 +-
 doc/posix-functions/inet_ntoa.texi |  2 +-
 doc/posix-functions/setitimer.texi |  6 +++---
 doc/posix-functions/setkey.texi    |  2 +-
 doc/posix-functions/toascii.texi   |  6 ++----
 9 files changed, 29 insertions(+), 17 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5355e8b241..dcfa4b80c2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2024-06-30  Collin Funk  <collin.fu...@gmail.com>
+
+	doc: Remove references to POSIX 202x.
+	* doc/posix-functions/encrypt.texi: Document as obsolete in
+	POSIX.1-2024.
+	* doc/posix-functions/inet_addr.texi: Likewise.
+	* doc/posix-functions/inet_ntoa.texi: Likewise.
+	* doc/posix-functions/setkey.texi: Likewise.
+	* doc/posix-functions/ftw.texi: Document as removed in POSIX.1-2024.
+	Link the POSIX.1-2017 specification.
+	* doc/posix-functions/getitimer.texi: Likewise.
+	* doc/posix-functions/setitimer.texi: Likewise.
+	* doc/posix-functions/toascii.texi: Likewise.
+
 2024-06-30  Bruno Haible  <br...@clisp.org>
 
 	*printf* tests: Remove unused includes.
diff --git a/doc/posix-functions/encrypt.texi b/doc/posix-functions/encrypt.texi
index 5a0aa7439f..9137f3b2ad 100644
--- a/doc/posix-functions/encrypt.texi
+++ b/doc/posix-functions/encrypt.texi
@@ -20,6 +20,6 @@ @node encrypt
 (without @code{-D_GNU_SOURCE}) on some platforms:
 glibc (at least 2.11--2.13).
 @item
-POSIX 202x says this function is obsolescent and it is planned to be
+POSIX.1-2024 says this function is obsolescent and it is planned to be
 removed in a future version.
 @end itemize
diff --git a/doc/posix-functions/ftw.texi b/doc/posix-functions/ftw.texi
index 5b61927775..fa19f3ee0e 100644
--- a/doc/posix-functions/ftw.texi
+++ b/doc/posix-functions/ftw.texi
@@ -2,7 +2,8 @@ @node ftw
 @section @code{ftw}
 @findex ftw
 
-POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftw.html}
+Removed in POSIX.1-2024.
+POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftw.html}
 
 Gnulib module: ---
 
@@ -19,7 +20,6 @@ @node ftw
 This function is missing on some platforms:
 FreeBSD 5.2.1, NetBSD 3.0, Minix 3.1.8, mingw, MSVC 14, Android 4.1.
 @item
-POSIX says this function is obsolescent and it is planned to be
-removed in POSIX 202x.
+This function is removed in POSIX.1-2024.
 Use the Gnulib module @code{fts} instead.
 @end itemize
diff --git a/doc/posix-functions/getitimer.texi b/doc/posix-functions/getitimer.texi
index 64ce009f3e..a0aa58d565 100644
--- a/doc/posix-functions/getitimer.texi
+++ b/doc/posix-functions/getitimer.texi
@@ -2,7 +2,8 @@ @node getitimer
 @section @code{getitimer}
 @findex getitimer
 
-POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/getitimer.html}
+Removed in POSIX.1-2024.
+POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/getitimer.html}
 
 Gnulib module: ---
 
@@ -16,7 +17,6 @@ @node getitimer
 This function is missing on some platforms:
 mingw, MSVC 14.
 @item
-POSIX says this function is obsolescent and it is planned to be
-removed in POSIX 202x.
+This function is removed in POSIX.1-2024.
 Use the function @code{timer_gettime} instead.
 @end itemize
diff --git a/doc/posix-functions/inet_addr.texi b/doc/posix-functions/inet_addr.texi
index 04c620994c..bbc9bfbd5a 100644
--- a/doc/posix-functions/inet_addr.texi
+++ b/doc/posix-functions/inet_addr.texi
@@ -16,7 +16,7 @@ @node inet_addr
 This function is missing on some platforms:
 mingw, MSVC 14.
 @item
-POSIX 202x says this function is obsolescent and it is planned to be
+POSIX.1-2024 says this function is obsolescent and it is planned to be
 removed in a future version.
 Use the function @code{inet_pton} instead.
 @item
diff --git a/doc/posix-functions/inet_ntoa.texi b/doc/posix-functions/inet_ntoa.texi
index c181ea91fa..39228151b2 100644
--- a/doc/posix-functions/inet_ntoa.texi
+++ b/doc/posix-functions/inet_ntoa.texi
@@ -16,7 +16,7 @@ @node inet_ntoa
 This function is missing on some platforms:
 mingw, MSVC 14.
 @item
-POSIX 202x says this function is obsolescent and it is planned to be
+POSIX.1-2024 says this function is obsolescent and it is planned to be
 removed in a future version.
 Use the function @code{inet_ntop} instead.
 @item
diff --git a/doc/posix-functions/setitimer.texi b/doc/posix-functions/setitimer.texi
index 985da03917..19bcadb1a1 100644
--- a/doc/posix-functions/setitimer.texi
+++ b/doc/posix-functions/setitimer.texi
@@ -2,7 +2,8 @@ @node setitimer
 @section @code{setitimer}
 @findex setitimer
 
-POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/setitimer.html}
+Removed in POSIX.1-2024.
+POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/setitimer.html}
 
 Gnulib module: ---
 
@@ -16,7 +17,6 @@ @node setitimer
 This function is missing on some platforms:
 mingw, MSVC 14.
 @item
-POSIX says this function is obsolescent and it is planned to be
-removed in POSIX 202x.
+This function is removed in POSIX.1-2024.
 Use the functions @code{timer_create} and @code{timer_settime} instead.
 @end itemize
diff --git a/doc/posix-functions/setkey.texi b/doc/posix-functions/setkey.texi
index 794e60f3d8..7a00bd6c1c 100644
--- a/doc/posix-functions/setkey.texi
+++ b/doc/posix-functions/setkey.texi
@@ -20,6 +20,6 @@ @node setkey
 (without @code{-D_GNU_SOURCE}) on some platforms:
 glibc (at least 2.11--2.13).
 @item
-POSIX 202x says this function is obsolescent and it is planned to be
+POSIX.1-2024 says this function is obsolescent and it is planned to be
 removed in a future version.
 @end itemize
diff --git a/doc/posix-functions/toascii.texi b/doc/posix-functions/toascii.texi
index 260de37bbe..976cb398e7 100644
--- a/doc/posix-functions/toascii.texi
+++ b/doc/posix-functions/toascii.texi
@@ -2,7 +2,8 @@ @node toascii
 @section @code{toascii}
 @findex toascii
 
-POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/toascii.html}
+Removed in POSIX.1-2024.
+POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/toascii.html}
 
 Gnulib module: ctype
 
@@ -16,7 +17,4 @@ @node toascii
 
 Portability problems not fixed by Gnulib:
 @itemize
-@item
-POSIX says this function is obsolescent and it is planned to be
-removed in POSIX 202x.
 @end itemize
-- 
2.45.2

Reply via email to