summaryrefslogtreecommitdiff
path: root/lib/basename.c
AgeCommit message (Collapse)Author
1996-04-19(basename): Rewrite so it doesn't rely on strrchr,Jim Meyering
and hence doesn't need to include string.h -- on some alpha-based OSF systems, there's a conflicting prototype for basename in string.h. Reported by Kaveh Ghazi.
1995-05-13(basename): Make arg const.Jim Meyering
1995-01-27(basename): Use strrchr, not rindex.Jim Meyering
[!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
1992-11-01Initial revisionJim Meyering