Re: [PATCH] x86-linux-setup.c: Use POSIX basename API

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

 



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@xxxxxxxxx>

Sorry for missing this one.
Applied.

_______________________________________________
kexec mailing list
kexec@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/kexec



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux