Collin Funk wrote: > The only change to sys/wait.h in POSIX 2024 is that WCOREDUMP is now > standardized. I've pushed the two attached patches updating a source > comment and adding a test for the definition that was missing.
Thanks. Let me update the documentation accordingly: 2025-01-10 Bruno Haible <br...@clisp.org> sys_wait-h: Document WCOREDUMP fix. * doc/posix-headers/sys_wait.texi: Mention the portability problem with WCOREDUMP. diff --git a/doc/posix-headers/sys_wait.texi b/doc/posix-headers/sys_wait.texi index 8f3adb4e64..bffad86005 100644 --- a/doc/posix-headers/sys_wait.texi +++ b/doc/posix-headers/sys_wait.texi @@ -11,12 +11,15 @@ @item This header file is missing on some platforms: mingw, MSVC 14. +@item +This header file does not define the @code{WCOREDUMP} macro on some platforms: +AIX 7.3, Haiku. @end itemize Portability problems not fixed by Gnulib: @itemize @item System status macros such as @code{WEXITSTATUS} require an lvalue -argument on some platforms. +argument on some platforms: macOS 11.1. @end itemize