[PATCH] x86-linux-setup.c: Use POSIX basename API
Simon Horman
horms at kernel.org
Tue Jun 18 09:32:07 PDT 2024
On Wed, May 15, 2024 at 09:35:05PM -0700, Khem Raj wrote:
> Musl C library only supports POSIX basename function. while glibc has
> both GNU extention as well as POSIX basename implemented. Switch to
> using posix version, so it can work across musl and glibc
>
> basename prototype has been removed from string.h from latest musl [1]
> compilers e.g. clang-18/GCC-14 flags the absense of prototype as error.
> therefore include libgen.h for providing it.
>
> [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
>
> Upstream-Status: Pending
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
Sorry for missing this one.
Applied.
More information about the kexec
mailing list