It hasn’t been published yet, so just update documentation talking about “draft” POSIX, about particular POSIX versions, etc. More work will need to be done once it’s published on the web, to update URLs, better document new and changed interfaces, and presumably to implement some of the new interfaces. --- ChangeLog | 8 +++++ MODULES.html.sh | 36 +++++++++---------- .../bind_textdomain_codeset.texi | 3 +- doc/glibc-functions/bindtextdomain.texi | 3 +- doc/glibc-functions/dcgettext.texi | 3 +- doc/glibc-functions/dcngettext.texi | 3 +- doc/glibc-functions/dgettext.texi | 3 +- doc/glibc-functions/dngettext.texi | 3 +- doc/glibc-functions/getentropy.texi | 3 +- doc/glibc-functions/getresgid.texi | 3 +- doc/glibc-functions/getresuid.texi | 3 +- doc/glibc-functions/gettext.texi | 3 +- doc/glibc-functions/ngettext.texi | 3 +- .../posix_spawn_file_actions_addchdir_np.texi | 4 ++- ...posix_spawn_file_actions_addfchdir_np.texi | 4 ++- .../pthread_cond_clockwait.texi | 3 ++ .../pthread_rwlock_clockrdlock.texi | 3 ++ .../pthread_rwlock_clockwrlock.texi | 3 ++ doc/glibc-functions/ptsname_r.texi | 3 ++ doc/glibc-functions/sem_clockwait.texi | 3 ++ doc/glibc-functions/setresgid.texi | 3 +- doc/glibc-functions/setresuid.texi | 3 +- doc/glibc-functions/textdomain.texi | 3 +- doc/glibc-headers/endian.texi | 3 +- doc/pastposix-functions/bcmp.texi | 5 +-- doc/pastposix-functions/bcopy.texi | 5 +-- doc/pastposix-functions/bzero.texi | 5 +-- doc/pastposix-functions/ecvt.texi | 5 +-- doc/pastposix-functions/fcvt.texi | 5 +-- doc/pastposix-functions/ftime.texi | 7 ++-- doc/pastposix-functions/gcvt.texi | 5 +-- doc/pastposix-functions/getwd.texi | 7 ++-- doc/pastposix-functions/index.texi | 5 +-- doc/pastposix-functions/mktemp.texi | 5 +-- doc/pastposix-functions/rindex.texi | 5 +-- doc/pastposix-functions/wcswcs.texi | 5 +-- doc/posix-functions/_longjmp.texi | 8 ++--- doc/posix-functions/_setjmp.texi | 8 ++--- doc/posix-functions/_tolower.texi | 6 ++-- doc/posix-functions/_toupper.texi | 6 ++-- doc/posix-functions/asctime_r.texi | 8 ++--- doc/posix-functions/ctime_r.texi | 8 ++--- doc/posix-functions/gets.texi | 10 +++--- doc/posix-functions/gettimeofday.texi | 6 ++-- doc/posix-functions/isascii.texi | 6 ++-- .../pthread_getconcurrency.texi | 6 ++-- .../pthread_setconcurrency.texi | 6 ++-- doc/posix-functions/rand_r.texi | 6 ++-- doc/posix-functions/setpgrp.texi | 6 ++-- doc/posix-functions/sighold.texi | 6 ++-- doc/posix-functions/sigignore.texi | 6 ++-- doc/posix-functions/siginterrupt.texi | 6 ++-- doc/posix-functions/sigpause.texi | 6 ++-- doc/posix-functions/sigrelse.texi | 6 ++-- doc/posix-functions/sigset.texi | 6 ++-- doc/posix-functions/tempnam.texi | 6 ++-- doc/posix-functions/ulimit.texi | 6 ++-- doc/posix-functions/utime.texi | 6 ++-- doc/posix-headers/stropts.texi | 5 ++- doc/posix-headers/trace.texi | 5 ++- doc/posix-headers/ulimit.texi | 5 ++- doc/posix-headers/utime.texi | 5 ++- lib/getopt.c | 2 +- lib/glob-libc.h | 2 +- 64 files changed, 203 insertions(+), 141 deletions(-)
diff --git a/ChangeLog b/ChangeLog index 25e150a59a..e09ff2a234 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2024-05-23 Paul Eggert <egg...@cs.ucla.edu> + + POSIX.1-2024 has been approved + It hasn’t been published yet, so just fix documentation talking + about “draft” POSIX, about particular POSIX versions, etc. + More work will need to be done once it’s published on the web, + to update URLs, and better document new and changed interfaces. + 2024-05-23 Bruno Haible <br...@clisp.org> mbrtoc32: Strengthen tests. diff --git a/MODULES.html.sh b/MODULES.html.sh index 442be7f690..4df6497fc3 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -21,8 +21,8 @@ # Extend the PATH so that gnulib-tool is found. PATH=`dirname "$0"`:$PATH; export PATH -POSIX2001_URL='https://pubs.opengroup.org/onlinepubs/009695399' -POSIX2008_URL='https://pubs.opengroup.org/onlinepubs/9699919799' +POSIX2004_URL='https://pubs.opengroup.org/onlinepubs/009695399' +POSIX2017_URL='https://pubs.opengroup.org/onlinepubs/9699919799' # repo_url_prefix and repo_url_suffix are chosen such that # <A HREF="${repo_url_prefix}FILENAME${repo_url_suffix}">...</A> @@ -165,7 +165,7 @@ wchar wctype wordexp ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"` -posix2001_headers=`echo ' +posix2004_headers=`echo ' sys/timeb ucontext ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"` @@ -1363,7 +1363,7 @@ y0 y1 yn ' | sed -e "$sed_alt1" | tr -d "$trnl" | sed -e "$sed_alt2" -e "$sed_alt3"` -posix2001_functions=`echo ' +posix2004_functions=`echo ' bcmp bcopy bsd_signal @@ -1553,12 +1553,12 @@ func_module () '$sed_remove_trailing_empty_line' s,^, , s,$, , - s,\([^a-zA-Z_]\)'$posix_functions'() \(function\|macro\),\1<A HREF="'$POSIX2008_URL'/functions/\2.html">\2</A> \3,g - s,\([^a-zA-Z_]\)'$posix_functions' \(function\|macro\),\1<A HREF="'$POSIX2008_URL'/functions/\2.html">\2</A> \3,g - s,\([^a-zA-Z_]\)'$posix_functions'(),\1<A HREF="'$POSIX2008_URL'/functions/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g - s,\([^a-zA-Z_]\)'$posix2001_functions'() \(function\|macro\),\1<A HREF="'$POSIX2001_URL'/functions/\2.html">\2</A> \3,g - s,\([^a-zA-Z_]\)'$posix2001_functions' \(function\|macro\),\1<A HREF="'$POSIX2001_URL'/functions/\2.html">\2</A> \3,g - s,\([^a-zA-Z_]\)'$posix2001_functions'(),\1<A HREF="'$POSIX2001_URL'/functions/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g + s,\([^a-zA-Z_]\)'$posix_functions'() \(function\|macro\),\1<A HREF="'$POSIX2017_URL'/functions/\2.html">\2</A> \3,g + s,\([^a-zA-Z_]\)'$posix_functions' \(function\|macro\),\1<A HREF="'$POSIX2017_URL'/functions/\2.html">\2</A> \3,g + s,\([^a-zA-Z_]\)'$posix_functions'(),\1<A HREF="'$POSIX2017_URL'/functions/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g + s,\([^a-zA-Z_]\)'$posix2004_functions'() \(function\|macro\),\1<A HREF="'$POSIX2004_URL'/functions/\2.html">\2</A> \3,g + s,\([^a-zA-Z_]\)'$posix2004_functions' \(function\|macro\),\1<A HREF="'$POSIX2004_URL'/functions/\2.html">\2</A> \3,g + s,\([^a-zA-Z_]\)'$posix2004_functions'(),\1<A HREF="'$POSIX2004_URL'/functions/\2.html">\2</A> <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 <SPAN STYLE="color:#FF0000;">what?? If you mean a function\, please say so.</SPAN>,g s, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), <CODE>\1</CODE>\2,g @@ -1586,9 +1586,9 @@ func_module () '$sed_gt' '$sed_remove_trailing_empty_line' s,^#include "\(.*\)"$,#include "<A HREF="'$repo_url_prefix'lib/\1'$repo_url_suffix_repl'">\1</A>", - s,^#include <'$posix_headers'\.h>$,#include \<<A HREF="'$POSIX2008_URL'/basedefs/\1.h.html">\1.h</A>\>, - s,<A HREF="'$POSIX2008_URL'/basedefs/\([a-zA-Z0-9_]*\)/\([a-zA-Z0-9_]*\)\.h\.html">,<A HREF="'$POSIX2008_URL'/basedefs/\1_\2.h.html">, - s,^#include <'$posix2001_headers'\.h>$,#include \<<A HREF="'$POSIX2001_URL'/basedefs/\1.h.html">\1.h</A>\>, + s,^#include <'$posix_headers'\.h>$,#include \<<A HREF="'$POSIX2017_URL'/basedefs/\1.h.html">\1.h</A>\>, + s,<A HREF="'$POSIX2017_URL'/basedefs/\([a-zA-Z0-9_]*\)/\([a-zA-Z0-9_]*\)\.h\.html">,<A HREF="'$POSIX2017_URL'/basedefs/\1_\2.h.html">, + s,^#include <'$posix2004_headers'\.h>$,#include \<<A HREF="'$POSIX2004_URL'/basedefs/\1.h.html">\1.h</A>\>, s/$/<BR>/ ' element=`echo "$includes" \ @@ -2509,7 +2509,7 @@ func_all_modules () func_module libc-config func_end_table - element="Support for obsolete systems lacking POSIX:2008" + element="Support for obsolete systems lacking POSIX" func_section_wrap posix_sup_obsolete func_wrap H2 func_echo "$element" @@ -2521,7 +2521,7 @@ func_all_modules () func_echo 'These modules are not listed among dependencies below, for simplicity.' func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.' - element="Support for systems lacking POSIX:2008" + element="Support for systems lacking POSIX" func_section_wrap posix_sup func_wrap H2 func_echo "$element" @@ -2717,7 +2717,7 @@ func_all_modules () func_module write func_end_table - element="Compatibility checks for POSIX:2008 functions" + element="Compatibility checks for POSIX functions" func_section_wrap posix_compat func_wrap H2 func_echo "$element" @@ -2735,7 +2735,7 @@ func_all_modules () func_module winsz-termios func_end_table - element="Enhancements for POSIX:2008 functions" + element="Enhancements for POSIX functions" func_section_wrap posix_enh func_wrap H2 func_echo "$element" @@ -2755,7 +2755,7 @@ func_all_modules () func_module exclude func_end_table - element="Extra functions based on POSIX:2008" + element="Extra functions based on POSIX" func_section_wrap posix_ext func_wrap H2 func_echo "$element" diff --git a/doc/glibc-functions/bind_textdomain_codeset.texi b/doc/glibc-functions/bind_textdomain_codeset.texi index ceb7c6bfa0..8c51be861f 100644 --- a/doc/glibc-functions/bind_textdomain_codeset.texi +++ b/doc/glibc-functions/bind_textdomain_codeset.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-bind-textdomain-codeset.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/bindtextdomain.texi b/doc/glibc-functions/bindtextdomain.texi index 35438f57a1..7498f5cd03 100644 --- a/doc/glibc-functions/bindtextdomain.texi +++ b/doc/glibc-functions/bindtextdomain.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-bindtextdomain.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/dcgettext.texi b/doc/glibc-functions/dcgettext.texi index 2c3e995621..cc6cbe3f50 100644 --- a/doc/glibc-functions/dcgettext.texi +++ b/doc/glibc-functions/dcgettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-dcgettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/dcngettext.texi b/doc/glibc-functions/dcngettext.texi index 011c339dd6..d3d34d99a7 100644 --- a/doc/glibc-functions/dcngettext.texi +++ b/doc/glibc-functions/dcngettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-dcngettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/dgettext.texi b/doc/glibc-functions/dgettext.texi index ed1ea0a2e2..7bb431b090 100644 --- a/doc/glibc-functions/dgettext.texi +++ b/doc/glibc-functions/dgettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-dgettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/dngettext.texi b/doc/glibc-functions/dngettext.texi index f1c645ec07..43b41dd0fd 100644 --- a/doc/glibc-functions/dngettext.texi +++ b/doc/glibc-functions/dngettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-dngettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/getentropy.texi b/doc/glibc-functions/getentropy.texi index 8a0f8e3644..0889854458 100644 --- a/doc/glibc-functions/getentropy.texi +++ b/doc/glibc-functions/getentropy.texi @@ -2,7 +2,8 @@ @subsection @code{getentropy} @findex getentropy -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1134} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1134} Documentation: @itemize diff --git a/doc/glibc-functions/getresgid.texi b/doc/glibc-functions/getresgid.texi index a7bf679d73..4a823b5eb0 100644 --- a/doc/glibc-functions/getresgid.texi +++ b/doc/glibc-functions/getresgid.texi @@ -2,7 +2,8 @@ @subsection @code{getresgid} @findex getresgid -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/getresgid.2.html,,man getresgid} diff --git a/doc/glibc-functions/getresuid.texi b/doc/glibc-functions/getresuid.texi index b15583eead..19360411e2 100644 --- a/doc/glibc-functions/getresuid.texi +++ b/doc/glibc-functions/getresuid.texi @@ -2,7 +2,8 @@ @subsection @code{getresuid} @findex getresuid -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/getresuid.2.html,,man getresuid} diff --git a/doc/glibc-functions/gettext.texi b/doc/glibc-functions/gettext.texi index 4ff46a4e75..ac3c82871f 100644 --- a/doc/glibc-functions/gettext.texi +++ b/doc/glibc-functions/gettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-gettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/ngettext.texi b/doc/glibc-functions/ngettext.texi index 5796ec0cc4..921bf904e5 100644 --- a/doc/glibc-functions/ngettext.texi +++ b/doc/glibc-functions/ngettext.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-ngettext.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi b/doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi index f8118a615d..90e5cb9f23 100644 --- a/doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi +++ b/doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi @@ -2,7 +2,9 @@ @subsection @code{posix_spawn_file_actions_addchdir_np} @findex posix_spawn_file_actions_addchdir_np -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1208} +@code{posix_spawn_file_actions_addchdir} is +specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1208} Gnulib module: --- diff --git a/doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi b/doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi index 06987eabd5..1056e4b943 100644 --- a/doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi +++ b/doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi @@ -2,7 +2,9 @@ @subsection @code{posix_spawn_file_actions_addfchdir_np} @findex posix_spawn_file_actions_addfchdir_np -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1208} +@code{posix_spawn_file_actions_addfchdir} is +specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1208} Gnulib module: --- diff --git a/doc/glibc-functions/pthread_cond_clockwait.texi b/doc/glibc-functions/pthread_cond_clockwait.texi index e54b05a984..b332cdb6e1 100644 --- a/doc/glibc-functions/pthread_cond_clockwait.texi +++ b/doc/glibc-functions/pthread_cond_clockwait.texi @@ -2,6 +2,9 @@ @subsection @code{pthread_cond_clockwait} @findex pthread_cond_clockwait +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1485#c5385} + Documentation: @itemize @item diff --git a/doc/glibc-functions/pthread_rwlock_clockrdlock.texi b/doc/glibc-functions/pthread_rwlock_clockrdlock.texi index 85e3c93548..76d00d8b8b 100644 --- a/doc/glibc-functions/pthread_rwlock_clockrdlock.texi +++ b/doc/glibc-functions/pthread_rwlock_clockrdlock.texi @@ -2,6 +2,9 @@ @subsection @code{pthread_rwlock_clockrdlock} @findex pthread_rwlock_clockrdlock +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1216} + Documentation: @itemize @item diff --git a/doc/glibc-functions/pthread_rwlock_clockwrlock.texi b/doc/glibc-functions/pthread_rwlock_clockwrlock.texi index 4790901044..d659db3597 100644 --- a/doc/glibc-functions/pthread_rwlock_clockwrlock.texi +++ b/doc/glibc-functions/pthread_rwlock_clockwrlock.texi @@ -2,6 +2,9 @@ @subsection @code{pthread_rwlock_clockwrlock} @findex pthread_rwlock_clockwrlock +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1216} + Documentation: @itemize @item diff --git a/doc/glibc-functions/ptsname_r.texi b/doc/glibc-functions/ptsname_r.texi index c4b700fb4f..9cda1b4202 100644 --- a/doc/glibc-functions/ptsname_r.texi +++ b/doc/glibc-functions/ptsname_r.texi @@ -2,6 +2,9 @@ @subsection @code{ptsname_r} @findex ptsname_r +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=508} + Documentation: @itemize @item diff --git a/doc/glibc-functions/sem_clockwait.texi b/doc/glibc-functions/sem_clockwait.texi index c027045743..0d5977fe71 100644 --- a/doc/glibc-functions/sem_clockwait.texi +++ b/doc/glibc-functions/sem_clockwait.texi @@ -2,6 +2,9 @@ @subsection @code{sem_clockwait} @findex sem_clockwait +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1216} + Documentation: @itemize @item diff --git a/doc/glibc-functions/setresgid.texi b/doc/glibc-functions/setresgid.texi index 36b82544fd..90fb316a38 100644 --- a/doc/glibc-functions/setresgid.texi +++ b/doc/glibc-functions/setresgid.texi @@ -2,7 +2,8 @@ @subsection @code{setresgid} @findex setresgid -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/setresgid.2.html,,man setresgid} diff --git a/doc/glibc-functions/setresuid.texi b/doc/glibc-functions/setresuid.texi index c811cb639b..77b5e96012 100644 --- a/doc/glibc-functions/setresuid.texi +++ b/doc/glibc-functions/setresuid.texi @@ -2,7 +2,8 @@ @subsection @code{setresuid} @findex setresuid -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1344} Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man2/setresuid.2.html,,man setresuid} diff --git a/doc/glibc-functions/textdomain.texi b/doc/glibc-functions/textdomain.texi index 528b1e1863..1b1184f1df 100644 --- a/doc/glibc-functions/textdomain.texi +++ b/doc/glibc-functions/textdomain.texi @@ -4,7 +4,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-textdomain.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=1122} Documentation: @itemize diff --git a/doc/glibc-headers/endian.texi b/doc/glibc-headers/endian.texi index ebaeb4fe7f..c1d301b3f6 100644 --- a/doc/glibc-headers/endian.texi +++ b/doc/glibc-headers/endian.texi @@ -3,7 +3,8 @@ LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/libc-ddefs.html} -Future POSIX specification:@* @url{https://www.austingroupbugs.net/view.php?id=162} +Specified in POSIX.1-2024. +Draft specification:@* @url{https://www.austingroupbugs.net/view.php?id=162} Describes the platform's endianness (byte ordering of words stored in memory). Defines the macros @code{BYTE_ORDER}, @code{LITTLE_ENDIAN}, @code{BIG_ENDIAN}, diff --git a/doc/pastposix-functions/bcmp.texi b/doc/pastposix-functions/bcmp.texi index 13906aabd2..00ef702a7a 100644 --- a/doc/pastposix-functions/bcmp.texi +++ b/doc/pastposix-functions/bcmp.texi @@ -2,7 +2,8 @@ @section @code{bcmp} @findex bcmp -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bcmp.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bcmp.html} Gnulib module: --- @@ -16,6 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw, MSVC 14, Android 9.0. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{memcmp} +This function is removed in POSIX.1-2008. Better use @code{memcmp} instead. @end itemize diff --git a/doc/pastposix-functions/bcopy.texi b/doc/pastposix-functions/bcopy.texi index 20e6e5585b..73ab4ea24f 100644 --- a/doc/pastposix-functions/bcopy.texi +++ b/doc/pastposix-functions/bcopy.texi @@ -2,7 +2,8 @@ @section @code{bcopy} @findex bcopy -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bcopy.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bcopy.html} Gnulib module: bcopy @@ -16,6 +17,6 @@ mingw, MSVC 14, Android 9.0. Portability problems not fixed by Gnulib: @itemize @item -This function is marked as ``legacy'' in POSIX@. Better use @code{memcpy} +This function is removed in POSIX.1-2008. Better use @code{memcpy} or @code{memmove} instead. @end itemize diff --git a/doc/pastposix-functions/bzero.texi b/doc/pastposix-functions/bzero.texi index 832ccb6a11..c83ff0075d 100644 --- a/doc/pastposix-functions/bzero.texi +++ b/doc/pastposix-functions/bzero.texi @@ -2,7 +2,8 @@ @section @code{bzero} @findex bzero -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bzero.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/bzero.html} Gnulib module: --- @@ -16,6 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw, MSVC 14, Android 9.0. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{memset} +This function is removed in POSIX.1-2008. Better use @code{memset} instead. @end itemize diff --git a/doc/pastposix-functions/ecvt.texi b/doc/pastposix-functions/ecvt.texi index 9402c8ce9f..70b13190b5 100644 --- a/doc/pastposix-functions/ecvt.texi +++ b/doc/pastposix-functions/ecvt.texi @@ -2,7 +2,8 @@ @section @code{ecvt} @findex ecvt -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/ecvt.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/ecvt.html} Gnulib module: --- @@ -19,6 +20,6 @@ FreeBSD 14.0, NetBSD 10.0, Android 9.0. This function is not declared on some platforms: Cygwin 2.9. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{sprintf} +This function is removed in POSIX.1-2008. Better use @code{sprintf} instead. @end itemize diff --git a/doc/pastposix-functions/fcvt.texi b/doc/pastposix-functions/fcvt.texi index 3b33e9f853..3b511e69a0 100644 --- a/doc/pastposix-functions/fcvt.texi +++ b/doc/pastposix-functions/fcvt.texi @@ -2,7 +2,8 @@ @section @code{fcvt} @findex fcvt -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/fcvt.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/fcvt.html} Gnulib module: --- @@ -19,6 +20,6 @@ FreeBSD 14.0, NetBSD 10.0, Android 9.0. This function is not declared on some platforms: Cygwin 2.9. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{sprintf} +This function is removed in POSIX.1-2008. Better use @code{sprintf} instead. @end itemize diff --git a/doc/pastposix-functions/ftime.texi b/doc/pastposix-functions/ftime.texi index 3bda2279be..a6c130c6b7 100644 --- a/doc/pastposix-functions/ftime.texi +++ b/doc/pastposix-functions/ftime.texi @@ -2,7 +2,8 @@ @section @code{ftime} @findex ftime -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/ftime.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/ftime.html} Gnulib module: --- @@ -22,7 +23,7 @@ Android 13. On native Windows platforms (mingw, MSVC), this function works incorrectly when the environment variable @code{TZ} has been set by Cygwin. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{gettimeofday} -or @code{clock_gettime} instead, and use @code{ftime} only as a fallback for +This function is removed in POSIX.1-2008. Better use +@code{clock_gettime} instead, and use @code{ftime} only as a fallback for portability to Windows platforms. @end itemize diff --git a/doc/pastposix-functions/gcvt.texi b/doc/pastposix-functions/gcvt.texi index a6e3235fa5..67fdca5715 100644 --- a/doc/pastposix-functions/gcvt.texi +++ b/doc/pastposix-functions/gcvt.texi @@ -2,7 +2,8 @@ @section @code{gcvt} @findex gcvt -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/gcvt.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/gcvt.html} Gnulib module: --- @@ -19,6 +20,6 @@ macOS 11.1, FreeBSD 14.0, NetBSD 10.0, Android 9.0. This function is not declared on some platforms: Cygwin 2.9. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{sprintf} +This function is removed in POSIX.1-2008. Better use @code{sprintf} instead. @end itemize diff --git a/doc/pastposix-functions/getwd.texi b/doc/pastposix-functions/getwd.texi index 1551ca5acb..6951cd5c6b 100644 --- a/doc/pastposix-functions/getwd.texi +++ b/doc/pastposix-functions/getwd.texi @@ -2,7 +2,8 @@ @section @code{getwd} @findex getwd -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/getwd.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/getwd.html} Gnulib module: --- @@ -18,6 +19,6 @@ mingw, MSVC 14, Android 9.0. @item The size of the buffer required for this function is not a compile-time constant. Also, the function truncates a result that would be larger than -the minimum buffer size. For these reasons, this function is marked as -``legacy'' in POSIX@. Better use the @code{getcwd} function instead. +the minimum buffer size. For these reasons, this function is removed +in POSIX.1-2008. Better use the @code{getcwd} function instead. @end itemize diff --git a/doc/pastposix-functions/index.texi b/doc/pastposix-functions/index.texi index d2aaf2a383..881281679a 100644 --- a/doc/pastposix-functions/index.texi +++ b/doc/pastposix-functions/index.texi @@ -7,7 +7,8 @@ @section @code{index} @findex index -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/index.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/index.html} Gnulib module: --- @@ -24,6 +25,6 @@ mingw, MSVC 14, Android 9.0. This function is not declared on some platforms: Android 13. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{strchr} +This function is removed in POSIX.1-2008. Better use @code{strchr} instead. @end itemize diff --git a/doc/pastposix-functions/mktemp.texi b/doc/pastposix-functions/mktemp.texi index 258fac2b76..c50a91837e 100644 --- a/doc/pastposix-functions/mktemp.texi +++ b/doc/pastposix-functions/mktemp.texi @@ -2,7 +2,8 @@ @section @code{mktemp} @findex mktemp -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/mktemp.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/mktemp.html} Gnulib module: --- @@ -14,6 +15,6 @@ Portability problems not fixed by Gnulib: @itemize @item This function is not appropriate for creating temporary files. (It has -security risks.) Therefore it is marked as ``legacy'' in POSIX@. Better use +security risks.) Therefore it is removed in POSIX.1-2008. Better use @code{mkstemp} instead. @end itemize diff --git a/doc/pastposix-functions/rindex.texi b/doc/pastposix-functions/rindex.texi index c19c3ba27d..b93505bb2f 100644 --- a/doc/pastposix-functions/rindex.texi +++ b/doc/pastposix-functions/rindex.texi @@ -2,7 +2,8 @@ @section @code{rindex} @findex rindex -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/rindex.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/rindex.html} Gnulib module: --- @@ -16,6 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: mingw, MSVC 14, Android 9.0. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{strrchr} +This function is removed in POSIX.1-2008. Better use @code{strrchr} instead. @end itemize diff --git a/doc/pastposix-functions/wcswcs.texi b/doc/pastposix-functions/wcswcs.texi index 43b1b8999c..20abe8bac9 100644 --- a/doc/pastposix-functions/wcswcs.texi +++ b/doc/pastposix-functions/wcswcs.texi @@ -2,7 +2,8 @@ @section @code{wcswcs} @findex wcswcs -POSIX specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/wcswcs.html} +Removed in POSIX.1-2008. +POSIX.1-2004 specification: @url{https://pubs.opengroup.org/onlinepubs/009695399/functions/wcswcs.html} Gnulib module: --- @@ -22,6 +23,6 @@ Android 13. On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot accommodate all Unicode characters. @item -This function is marked as ``legacy'' in POSIX@. Better use @code{wcsstr} +This function is removed in POSIX.1-2008. Better use @code{wcsstr} instead. @end itemize diff --git a/doc/posix-functions/_longjmp.texi b/doc/posix-functions/_longjmp.texi index 4cbf8f3b32..ee880b1d6d 100644 --- a/doc/posix-functions/_longjmp.texi +++ b/doc/posix-functions/_longjmp.texi @@ -2,7 +2,8 @@ @section @code{_longjmp} @findex _longjmp -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_longjmp.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_longjmp.html} Gnulib module: --- @@ -16,11 +17,10 @@ Portability problems not fixed by Gnulib: 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. @end itemize -Note: Despite its being removed from POSIX, in 2023 on all +Note: Despite its being removed from POSIX, in 2024 on all systems which have @code{_setjmp}, it is the fastest way to save the registers but not the signal mask (up to 30 times faster than @code{setjmp} on some systems). diff --git a/doc/posix-functions/_setjmp.texi b/doc/posix-functions/_setjmp.texi index 1e6a39907d..8b9bb27c5d 100644 --- a/doc/posix-functions/_setjmp.texi +++ b/doc/posix-functions/_setjmp.texi @@ -2,7 +2,8 @@ @section @code{_setjmp} @findex _setjmp -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_setjmp.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_setjmp.html} Gnulib module: --- @@ -13,11 +14,10 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize @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. @end itemize -Note: Despite its being removed from POSIX, in 2023 on all +Note: Despite its being removed from POSIX, in 2024 on all systems which have @code{_setjmp}, it is the fastest way to save the registers but not the signal mask (up to 30 times faster than @code{setjmp} on some systems). diff --git a/doc/posix-functions/_tolower.texi b/doc/posix-functions/_tolower.texi index 381bc035e8..0ef8af35c7 100644 --- a/doc/posix-functions/_tolower.texi +++ b/doc/posix-functions/_tolower.texi @@ -2,7 +2,8 @@ @section @code{_tolower} @findex _tolower -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_tolower.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_tolower.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: macOS 11.1, Minix 3.1.8, Android 4.4. @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{tolower} instead. @end itemize diff --git a/doc/posix-functions/_toupper.texi b/doc/posix-functions/_toupper.texi index 1196e29792..d1374b857f 100644 --- a/doc/posix-functions/_toupper.texi +++ b/doc/posix-functions/_toupper.texi @@ -2,7 +2,8 @@ @section @code{_toupper} @findex _toupper -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_toupper.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/_toupper.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: macOS 11.1, Minix 3.1.8, Android 4.4. @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{toupper} instead. @end itemize diff --git a/doc/posix-functions/asctime_r.texi b/doc/posix-functions/asctime_r.texi index cf3ac4ce27..e4a33af31f 100644 --- a/doc/posix-functions/asctime_r.texi +++ b/doc/posix-functions/asctime_r.texi @@ -2,9 +2,8 @@ @section @code{asctime_r} @findex asctime_r -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime_r.html} - -Future POSIX removal:@* @url{https://www.austingroupbugs.net/view.php?id=1410} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/asctime_r.html} Gnulib module: extensions @@ -21,8 +20,7 @@ Portability problems not fixed by Gnulib: 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 a future version. +This function is removed in POSIX.1-2024. Use the function @code{strftime} (or even @code{sprintf}) instead. However, @code{strftime} is locale dependent. @item diff --git a/doc/posix-functions/ctime_r.texi b/doc/posix-functions/ctime_r.texi index 99ae828a54..f3eebc24dd 100644 --- a/doc/posix-functions/ctime_r.texi +++ b/doc/posix-functions/ctime_r.texi @@ -2,9 +2,8 @@ @section @code{ctime_r} @findex ctime_r -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime_r.html} - -Future POSIX removal:@* @url{https://www.austingroupbugs.net/view.php?id=1410} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ctime_r.html} Gnulib module: extensions @@ -21,8 +20,7 @@ Portability problems not fixed by Gnulib: 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 a future version. +This function is removed in POSIX.1-2024. Use the functions @code{localtime_r} and @code{strftime} (or even @code{sprintf}) instead. However, @code{localtime_r} can fail and @code{strftime} is locale dependent. diff --git a/doc/posix-functions/gets.texi b/doc/posix-functions/gets.texi index ecef336dcd..48f09d52b0 100644 --- a/doc/posix-functions/gets.texi +++ b/doc/posix-functions/gets.texi @@ -2,7 +2,8 @@ @section @code{gets} @findex gets -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/gets.html} Gnulib module: --- @@ -13,15 +14,14 @@ Portability problems fixed by Gnulib: Portability problems not fixed by Gnulib: @itemize @item +This function is removed in POSIX.1-2024. +Use the function @code{fgets} instead. +@item This function should never be used, because it can overflow any given buffer. @item This function is missing on some platforms: OpenBSD 6.7, Solaris 11.4. @item -POSIX says this function is obsolescent and it is planned to be -removed in POSIX 202x. -Use the function @code{fgets} instead. -@item When reading from a non-blocking pipe whose buffer is empty, this function fails with @code{errno} being set to @code{EINVAL} instead of @code{EAGAIN} on some platforms: diff --git a/doc/posix-functions/gettimeofday.texi b/doc/posix-functions/gettimeofday.texi index 1cbe0ce847..6b9c67b0a2 100644 --- a/doc/posix-functions/gettimeofday.texi +++ b/doc/posix-functions/gettimeofday.texi @@ -2,7 +2,8 @@ @section @code{gettimeofday} @findex gettimeofday -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/gettimeofday.html} Gnulib module: gettimeofday @@ -34,8 +35,7 @@ Portability problems not fixed by Gnulib: Behavior is non-portable if the second argument to @code{gettimeofday} is not @code{NULL}. @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{gettime} or @code{timespec_get} instead. (POSIX recommends to use the function @code{clock_gettime}, but there is no corresponding Gnulib module for it yet.) diff --git a/doc/posix-functions/isascii.texi b/doc/posix-functions/isascii.texi index b46571d26e..c96e65c40b 100644 --- a/doc/posix-functions/isascii.texi +++ b/doc/posix-functions/isascii.texi @@ -2,7 +2,8 @@ @section @code{isascii} @findex isascii -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/isascii.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/isascii.html} Gnulib module: ctype @@ -17,8 +18,7 @@ OS X 10.8. Portability problems not fixed by Gnulib: @itemize @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. @end itemize Note: This function's behaviour depends on the locale, but requires special diff --git a/doc/posix-functions/pthread_getconcurrency.texi b/doc/posix-functions/pthread_getconcurrency.texi index 571662b4d2..f51bedd493 100644 --- a/doc/posix-functions/pthread_getconcurrency.texi +++ b/doc/posix-functions/pthread_getconcurrency.texi @@ -2,7 +2,8 @@ @section @code{pthread_getconcurrency} @findex pthread_getconcurrency -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_getconcurrency.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_getconcurrency.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: NetBSD 10.0, Minix 3.1.8, mingw, MSVC 14, Android 9.0. @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. You can remove calls to this function. @end itemize diff --git a/doc/posix-functions/pthread_setconcurrency.texi b/doc/posix-functions/pthread_setconcurrency.texi index 7f6617a9fb..d85c660560 100644 --- a/doc/posix-functions/pthread_setconcurrency.texi +++ b/doc/posix-functions/pthread_setconcurrency.texi @@ -2,7 +2,8 @@ @section @code{pthread_setconcurrency} @findex pthread_setconcurrency -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_setconcurrency.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_setconcurrency.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: NetBSD 10.0, Minix 3.1.8, mingw, MSVC 14, Android 9.0. @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. You can remove calls to this function. @end itemize diff --git a/doc/posix-functions/rand_r.texi b/doc/posix-functions/rand_r.texi index 1e0f150ef8..27153ed63a 100644 --- a/doc/posix-functions/rand_r.texi +++ b/doc/posix-functions/rand_r.texi @@ -2,7 +2,8 @@ @section @code{rand_r} @findex rand_r -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/rand_r.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/rand_r.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Minix 3.1.8, mingw, MSVC 14, Android 4.4. @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{random_r} from Gnulib module @code{random_r} instead. @end itemize diff --git a/doc/posix-functions/setpgrp.texi b/doc/posix-functions/setpgrp.texi index 29b155a588..d5a5068a16 100644 --- a/doc/posix-functions/setpgrp.texi +++ b/doc/posix-functions/setpgrp.texi @@ -2,7 +2,8 @@ @section @code{setpgrp} @findex setpgrp -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgrp.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/setpgrp.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Minix 3.1.8, 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{setpgid} or @code{setsid} instead, as appropriate. @end itemize diff --git a/doc/posix-functions/sighold.texi b/doc/posix-functions/sighold.texi index 0d78d865ef..f3ab8c79c6 100644 --- a/doc/posix-functions/sighold.texi +++ b/doc/posix-functions/sighold.texi @@ -2,7 +2,8 @@ @section @code{sighold} @findex sighold -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sighold.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sighold.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: FreeBSD 6.0, OpenBSD 6.7, Minix 3.1.8, mingw, MSVC 14, Android 7.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 function @code{sigprocmask} instead. @end itemize diff --git a/doc/posix-functions/sigignore.texi b/doc/posix-functions/sigignore.texi index 058d3e7bc9..f1feb607c3 100644 --- a/doc/posix-functions/sigignore.texi +++ b/doc/posix-functions/sigignore.texi @@ -2,7 +2,8 @@ @section @code{sigignore} @findex sigignore -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigignore.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigignore.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: FreeBSD 6.0, OpenBSD 6.7, Minix 3.1.8, Cygwin 1.5.x, mingw, MSVC 14, Android 7.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 function @code{sigaction} instead. @end itemize diff --git a/doc/posix-functions/siginterrupt.texi b/doc/posix-functions/siginterrupt.texi index 6f7da931c0..95198ddd29 100644 --- a/doc/posix-functions/siginterrupt.texi +++ b/doc/posix-functions/siginterrupt.texi @@ -2,7 +2,8 @@ @section @code{siginterrupt} @findex siginterrupt -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/siginterrupt.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/siginterrupt.html} Gnulib module: --- @@ -16,8 +17,7 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Minix 3.1.8, mingw, MSVC 14. @item -POSIX says this function is obsolescent and it is planned to be -removed in POSIX 202x. +This funciton is removed in POSIX.1-2024. Use the function @code{sigaction} instead. @end itemize diff --git a/doc/posix-functions/sigpause.texi b/doc/posix-functions/sigpause.texi index 691e882cdb..d609fef677 100644 --- a/doc/posix-functions/sigpause.texi +++ b/doc/posix-functions/sigpause.texi @@ -2,7 +2,8 @@ @section @code{sigpause} @findex sigpause -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigpause.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigpause.html} LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-sigpause-3.html} @@ -18,7 +19,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Minix 3.1.8, mingw, MSVC 14, Android 7.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 function @code{sigsuspend} instead. @end itemize diff --git a/doc/posix-functions/sigrelse.texi b/doc/posix-functions/sigrelse.texi index 59edec2e6b..d77c48138f 100644 --- a/doc/posix-functions/sigrelse.texi +++ b/doc/posix-functions/sigrelse.texi @@ -2,7 +2,8 @@ @section @code{sigrelse} @findex sigrelse -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigrelse.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigrelse.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: FreeBSD 6.0, OpenBSD 6.7, Minix 3.1.8, mingw, MSVC 14, Android 7.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 function @code{sigprocmask} instead. @end itemize diff --git a/doc/posix-functions/sigset.texi b/doc/posix-functions/sigset.texi index fcd864984f..771473e890 100644 --- a/doc/posix-functions/sigset.texi +++ b/doc/posix-functions/sigset.texi @@ -2,7 +2,8 @@ @section @code{sigset} @findex sigset -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigset.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/sigset.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: FreeBSD 6.0, OpenBSD 6.7, Minix 3.1.8, Cygwin 1.5.x, mingw, MSVC 14, Android 7.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 function @code{sigaction} instead. @end itemize diff --git a/doc/posix-functions/tempnam.texi b/doc/posix-functions/tempnam.texi index bb8a040878..ddb1ae0af8 100644 --- a/doc/posix-functions/tempnam.texi +++ b/doc/posix-functions/tempnam.texi @@ -2,7 +2,8 @@ @section @code{tempnam} @findex tempnam -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/tempnam.html} Gnulib module: --- @@ -16,8 +17,7 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: Minix 3.1.8. @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{mkstemp} instead. @item This function is not appropriate for creating temporary files. (It has diff --git a/doc/posix-functions/ulimit.texi b/doc/posix-functions/ulimit.texi index ff172d2646..0173294c08 100644 --- a/doc/posix-functions/ulimit.texi +++ b/doc/posix-functions/ulimit.texi @@ -2,7 +2,8 @@ @section @code{ulimit} @findex ulimit -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ulimit.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/ulimit.html} Gnulib module: --- @@ -16,7 +17,6 @@ Portability problems not fixed by Gnulib: This function is missing on some platforms: OpenBSD 6.7, Minix 3.1.8, Cygwin 2.9, mingw, MSVC 14, Android 9.0. @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{getrlimit} and @code{setrlimit} instead. @end itemize diff --git a/doc/posix-functions/utime.texi b/doc/posix-functions/utime.texi index ec89886099..893a342bdb 100644 --- a/doc/posix-functions/utime.texi +++ b/doc/posix-functions/utime.texi @@ -2,7 +2,8 @@ @section @code{utime} @findex utime -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/utime.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/utime.html} Gnulib module: utime @@ -32,7 +33,6 @@ This function cannot set full timestamp resolution. Use @code{utimensat(AT_FDCWD,file,times,0)}, or the gnulib module @code{utimens}, instead. @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. You can use Gnulib module @code{utimens} instead. @end itemize diff --git a/doc/posix-headers/stropts.texi b/doc/posix-headers/stropts.texi index bb65d3c8b5..5e93b55906 100644 --- a/doc/posix-headers/stropts.texi +++ b/doc/posix-headers/stropts.texi @@ -1,7 +1,8 @@ @node stropts.h @section @file{stropts.h} -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stropts.h.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/stropts.h.html} Gnulib module: --- @@ -14,4 +15,6 @@ Portability problems not fixed by Gnulib: @item This header file is missing on some platforms: macOS 11.1, FreeBSD 14.0, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, Cygwin, mingw, MSVC 14, Android 9.0. +@item +This header is removed in POSIX.1-2024. @end itemize diff --git a/doc/posix-headers/trace.texi b/doc/posix-headers/trace.texi index e8cf1d3ebb..f8bbc9208e 100644 --- a/doc/posix-headers/trace.texi +++ b/doc/posix-headers/trace.texi @@ -1,7 +1,8 @@ @node trace.h @section @file{trace.h} -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/trace.h.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/trace.h.html} Gnulib module: --- @@ -14,4 +15,6 @@ Portability problems not fixed by Gnulib: @item This header file is missing on some platforms: macOS 11.1, FreeBSD 14.0, NetBSD 10.0, OpenBSD 6.7, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.4, Cygwin, mingw, MSVC 14, Android 9.0. +@item +This header is removed in POSIX.1-2024. @end itemize diff --git a/doc/posix-headers/ulimit.texi b/doc/posix-headers/ulimit.texi index 4ec213228c..94dbcb1041 100644 --- a/doc/posix-headers/ulimit.texi +++ b/doc/posix-headers/ulimit.texi @@ -1,7 +1,8 @@ @node ulimit.h @section @file{ulimit.h} -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ulimit.h.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/ulimit.h.html} Gnulib module: --- @@ -14,4 +15,6 @@ Portability problems not fixed by Gnulib: @item This header file is missing on some platforms: OpenBSD 6.7, Minix 3.1.8, Cygwin, mingw, MSVC 14, Android 9.0. +@item +This header is removed in POSIX.1-2024. @end itemize diff --git a/doc/posix-headers/utime.texi b/doc/posix-headers/utime.texi index d7a2c79f74..8dbd57cb58 100644 --- a/doc/posix-headers/utime.texi +++ b/doc/posix-headers/utime.texi @@ -1,7 +1,8 @@ @node utime.h @section @file{utime.h} -POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utime.h.html} +Removed in POSIX.1-2024. +POSIX.1-2017 specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/utime.h.html} Gnulib module: utime-h @@ -13,4 +14,6 @@ This header file is missing on some platforms: MSVC 14. Portability problems not fixed by Gnulib: @itemize +@item +This header is removed in POSIX.1-2024. @end itemize diff --git a/lib/getopt.c b/lib/getopt.c index f66f119ec5..ea2d1a529c 100644 --- a/lib/getopt.c +++ b/lib/getopt.c @@ -723,7 +723,7 @@ _getopt_internal (int argc, char **argv, const char *optstring, return result; } -/* glibc gets a LSB-compliant getopt and a POSIX-complaint __posix_getopt. +/* glibc gets a LSB-compliant getopt and a POSIX-compliant __posix_getopt. Standalone applications just get a POSIX-compliant getopt. POSIX and LSB both require these functions to take 'char *const *argv' even though this is incorrect (because of the permutation). */ diff --git a/lib/glob-libc.h b/lib/glob-libc.h index ce0e5d3145..b719bfd939 100644 --- a/lib/glob-libc.h +++ b/lib/glob-libc.h @@ -185,7 +185,7 @@ extern void globfree64 (glob64_t *__pglob) __THROW; /* Return nonzero if PATTERN contains any metacharacters. Metacharacters can be quoted with backslashes if QUOTE is nonzero. - This function is not part of the interface specified by POSIX.2 + This function is not part of the interface specified by POSIX but several programs want to use it. */ extern int glob_pattern_p (const char *__pattern, int __quote) __THROW; #endif -- 2.45.1