Makes sense.  I used the function in these gnulib modules that currently do
not have a dependency on basename (i believe): exclude, fts, glob, link,
progname.    I noticed for some, like link, they reimplement the basename
functionality (although slightly lacking):
https://github.com/coreutils/gnulib/blob/master/lib/link.c#L221-L223 .  I
am not sure if this intentional to avoid the dependency or just the code
was so simple it wasn't pulled in quickly.    I know we can limit basename
inclusion to windows only although not sure it saves a whole lot.  I would
need some sort of shim for non-windows operating systems to not use
basename or ifdefs and not sure if that really is 'simpler' when basename
is essentially the functionality needed.

~mitch (they, them)

>
>

Reply via email to