diff options
| author | Khem Raj <raj.khem@gmail.com> | 2024-03-15 14:34:06 -0700 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-08-23 16:24:04 +0000 |
| commit | 4609526094643eddb1a5bb6cdd84ecce588e9cc6 (patch) | |
| tree | b9ef86ab2f4865d7c693345ab01c3217d4c6b692 /lib/command_py.c | |
| parent | d9bf6129e74f15980c8f19b84cf8a40a37d8947b (diff) | |
zebra: Mimic GNU basename() API for non-glibc library e.g. musl
musl only provides POSIX version of basename and it has also removed
providing it via string.h header [1] which now results in compile errors
with newer compilers e.g. clang-18
[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0ef71391f0fb15039550a09c218977fa3e1abaf1)
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions
