Gnulib module: —
Portability problems fixed by Gnulib:
Portability problems not fixed by Gnulib:
basename: the POSIX version and the GNU version.
basenameassumes file names in POSIX syntax; it does not work with file names in Windows syntax.
The Gnulib module
dirname provides similar API, with function
base_name, that also works with Windows file names.