summaryrefslogtreecommitdiff
path: root/lib/basename.c
AgeCommit message (Collapse)Author
2001-01-16Include <stdio.h>, needed by assert on SunOS4.Jim Meyering
2000-07-29(base_name): Use ISSLASH rather than comparing against `/'.Jim Meyering
2000-07-23(base_name): Add an assertion.Jim Meyering
2000-07-09update copyright dateJim Meyering
1999-09-26(base_name): Add prototype. From Akim Demaille.Jim Meyering
1999-03-13*** empty log message ***Jim Meyering
1999-03-13(base_name): If NAME is all slashes, return `/' (inJim Meyering
conformance with the single unix spec). Reported by Peter Moulder.
1998-02-24capitalize macro params and protoizeJim Meyering
1998-02-24add copyrightJim Meyering
1997-06-29(base_name_strip_trailing_slashes): Remove.Jim Meyering
1997-06-29(base_name_strip_trailing_slashes): new function.Jim Meyering
1997-05-27Don't include backupfile.h.Jim Meyering
1997-05-27Update from FSF via patch-2.2.93.Jim Meyering
1996-07-15indent cpp-directivesJim Meyering
1996-07-15update FSF address in copyrightJim Meyering
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