> Note that the POSIX basename function may modify the string in place (when > removing trailing slashes). The GNU (and libiberty) version (naturally) > never does this. If you care, use lbasename() instead.