On Thu, Jan 15, 2026 at 06:33:56PM -0800, Dan Williams wrote: > Alison Schofield wrote: > [..] > > Rather than conditionally including headers or dealing with platform > > differences, replace both basename() usages with a new implementation > > using strrchar to find the last '/' in the path and return everything > > after it, or the whole string if no '/' is found. > > This feels like it wants a helper rather than a new open-coded thing. > For example, devpath_to_devname() is an existing similar helper. happy face
> > Alternatively, just create a local helper called basename when the > C-library is missing the GNU version. grimace Prepping the happy face version next.
