]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Mimic GNU basename() API for non-glibc library e.g. musl
authorKhem Raj <raj.khem@gmail.com>
Fri, 15 Mar 2024 21:34:06 +0000 (14:34 -0700)
committerKhem Raj <raj.khem@gmail.com>
Thu, 22 Aug 2024 21:50:41 +0000 (14:50 -0700)
commit0ef71391f0fb15039550a09c218977fa3e1abaf1
tree3c38053afa63cbfe0ee720fcccf3147df1d2a9be
parent44e8a958b0cc9aa6042863d442e3da2b7352c168
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>
zebra/zebra_netns_notify.c