1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-12 11:57:46 +02:00
Commit Graph

4 Commits

Author SHA1 Message Date
Jim Meyering dafd2cb4e2 (basename): Rewrite so it doesn't rely on strrchr,
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.
1996-04-19 04:41:27 +00:00
Jim Meyering 143415e6b8 (basename): Make arg const. 1995-05-13 12:52:57 +00:00
Jim Meyering 85bb215ab8 (basename): Use strrchr, not rindex.
[!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
1995-01-27 15:23:48 +00:00
Jim Meyering ccbd1d7dc5 Initial revision 1992-11-01 05:44:29 +00:00