Redefining basename_r to mean something random seems popular (bionic and freebsd
both did it) so use getbasename instead.
5 files changed