[PATCH 1/2] conform: Add initial support for POSIX.1-2024

Yury Khrustalev yury.khrustalev@arm.com
Wed Mar 11 12:36:11 GMT 2026


On Wed, Feb 25, 2026 at 08:00:26PM -0800, Collin Funk wrote:
> Make POSIX.1-2024 checks the same as POSIX.1-2008 using the following
> command:
> 
>     $ find conform -name '*.h-data' | xargs sed -i \
>         -e 's| !defined POSIX2008| !defined POSIX2008 \&\& !defined POSIX2024|g' \
>         -e 's| defined POSIX2008| defined POSIX2008 \|\| defined POSIX2024|g' \
>         -e 's|ifdef POSIX2008|if defined POSIX2008 \|\| defined POSIX2024|g' \
>         -e 's|ifndef POSIX2008|if !defined POSIX2008 \&\& !defined POSIX2024|g'

LGTM. This patch does what has been suggested by Joseph Myers in [1].

Reviewed-by: Yury Khrustalev <yury.khrustalev@arm.com>

[1]: https://inbox.sourceware.org/libc-alpha/297b16f2-a03b-cd19-1522-0207833fddbf@redhat.com

Thanks,
Yury



More information about the Libc-alpha mailing list