Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Musl has removed the declaration from string.h [1] which exposes the problem especially with clang-17+ compiler where implicit function declaration is flagged as error. Use posix basename and make a copy of string to operate on to emulate GNU basename behaviour. [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
- Loading branch information