[PATCH] libio: Define AT_RENAME_* with the same tokens as Linux
Collin Funk
collin.funk1@gmail.com
Fri Sep 5 16:21:40 GMT 2025
Florian Weimer <fweimer@redhat.com> writes:
> Linux uses different expressions for the RENAME_* and AT_RENAME_*
> constants. Mirror that in <stdio.h>, so that the macro redefinitions
> do not result in preprocessor warnings.
>
> Tested on powerpc64-linux-gnu. Built on i686-gnu and x86_64-gnu.
>
> ---
> libio/stdio.h | 6 +++---
> stdio-common/tst-renameat2.c | 6 ++++++
> 2 files changed, 9 insertions(+), 3 deletions(-)
Looks good, thanks.
Reviewed-by: Collin Funk <collin.funk1@gmail.com>
Collin
More information about the Libc-alpha
mailing list