bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Resolve conflicts for functions introduced in Android API level 34


From: Bruno Haible
Subject: Resolve conflicts for functions introduced in Android API level 34
Date: Fri, 26 Jan 2024 00:23:26 +0100

At level 34 the added functions are:

<stdio_ext.h>
__freadahead

<string.h>
memset_explicit

<spawn.h>
posix_spawn_file_actions_addchdir_np
posix_spawn_file_actions_addfchdir_np

<unistd.h>
copy_file_range
close_range

Here are the corresponding adjustments in Gnulib.


2024-01-25  Bruno Haible  <bruno@clisp.org>

        Resolve conflicts for functions introduced in Android API level 34.

        * m4/copy-file-range.m4 (gl_FUNC_COPY_FILE_RANGE): On platforms without
        glibc, test for copy_file_range using gl_CHECK_FUNCS_ANDROID instead of
        AC_CHECK_FUNCS_ONCE. Conditionally set REPLACE_COPY_FILE_RANGE.
        * doc/glibc-functions/copy_file_range.texi: Mention the Android API
        levels.

        * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): Test for
        posix_spawn_file_actions_addchdir_np and
        posix_spawn_file_actions_addfchdir_np using gl_CHECK_FUNCS_ANDROID
        instead of AC_CHECK_FUNCS_ONCE.
        * m4/posix_spawn_faction_addchdir.m4
        (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR): Test for
        posix_spawn_file_actions_addchdir_np using gl_CHECK_FUNCS_ANDROID
        instead of AC_CHECK_FUNCS_ONCE.
        * m4/posix_spawn_faction_addfchdir.m4
        (gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDFCHDIR): Test for
        posix_spawn_file_actions_addfchdir_np using gl_CHECK_FUNCS_ANDROID
        instead of AC_CHECK_FUNCS_ONCE.
        * doc/glibc-functions/posix_spawn_file_actions_addchdir_np.texi: Mention
        the Android API levels.
        * doc/glibc-functions/posix_spawn_file_actions_addfchdir_np.texi:
        Likewise.

        * lib/string.in.h (memset_explicit): Consider REPLACE_MEMSET_EXPLICIT.
        * m4/string_h.m4 (gl_STRING_H_DEFAULTS): Initialize
        REPLACE_MEMSET_EXPLICIT.
        * modules/string (Makefile.am): Substitute REPLACE_MEMSET_EXPLICIT.
        * m4/memset_explicit.m4 (gl_FUNC_MEMSET_EXPLICIT): Test for
        memset_explicit using gl_CHECK_FUNCS_ANDROID instead of
        AC_CHECK_FUNCS_ONCE. Conditionally set REPLACE_MEMSET_EXPLICIT.
        * modules/memset_explicit (configure.ac): Consider
        REPLACE_MEMSET_EXPLICIT.
        * doc/posix-functions/memset_explicit.texi: Mention the Android API
        levels.

        * m4/freadahead.m4 (gl_FUNC_FREADAHEAD): Test for __freadahead using
        gl_CHECK_FUNCS_ANDROID instead of AC_CHECK_FUNCS_ONCE.
        * lib/freadahead.h: Update comment.

Attachment: 0001-Resolve-conflicts-for-functions-introduced-in-Androi.patch
Description: Text Data

Attachment: 0002-Resolve-conflicts-for-functions-introduced-in-Androi.patch
Description: Text Data

Attachment: 0003-Resolve-conflicts-for-functions-introduced-in-Androi.patch
Description: Text Data

Attachment: 0004-Resolve-conflicts-for-functions-introduced-in-Androi.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]