Commit: 690eccbe8562cc33f33503af67beb313ca737817
Parent: 54866cee3fad31880047ba81dbb12746186522cb
Author: Khem Raj <raj.khem@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2024-09-10 20:40:07
Tree: fe85bb064eeea4f702babeeedd54ed43d91c03d1

mesh: Provide GNU basename compatible implementation Call to basename() relies on a GNU extension to take a const char * vs a char *. Let's define a trivial helper function to ensure compatibility with musl. Fixes: https://github.com/bluez/bluez/issues/843

Diffstat

M configure.ac | 11 ++++++++++-
M mesh/mesh-config-json.c | 4 +++-
A mesh/missing.h | 21 +++++++++++++++++++++
M mesh/rpl.c | 1 +
M tools/hex2hcd.c | 1 +
A tools/missing.h | 21 +++++++++++++++++++++

6 files changed, 57 insertions(+), 2 deletions(-)

View Full Diff | Patch