lib/basename.c


Log

Author Commit Date CI Message
Jim Meyering cd988caa 1999-03-13T16:19:18 *** empty log message ***
Jim Meyering 19a0a43a 1999-03-13T16:09:00 (base_name): If NAME is all slashes, return `/' (in conformance with the single unix spec). Reported by Peter Moulder.
Jim Meyering 18ab6ee1 1998-02-24T22:59:34 capitalize macro params and protoize
Jim Meyering 8113e5c5 1998-02-24T22:58:26 add copyright
Jim Meyering e860cd16 1997-06-29T22:26:18 (base_name_strip_trailing_slashes): Remove.
Jim Meyering c34b054f 1997-06-29T22:25:54 (base_name_strip_trailing_slashes): new function.
Jim Meyering 0fb5d9e2 1997-05-27T14:16:49 Don't include backupfile.h.
Jim Meyering 56a7a671 1997-05-27T09:39:25 Update from FSF via patch-2.2.93.
Jim Meyering 783c1624 1996-07-15T03:56:06 indent cpp-directives
Jim Meyering 6d8337bf 1996-07-15T03:36:16 update FSF address in copyright
Jim Meyering 3751b3e9 1996-04-19T04:41:27 (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.
Jim Meyering efa6ff05 1995-05-13T12:52:57 (basename): Make arg const.
Jim Meyering 3b8ba971 1995-01-27T15:23:48 (basename): Use strrchr, not rindex. [!STDC_HEADERS && !HAVE_STRING_H]: Define strrchr to rindex.
Jim Meyering 43e78b97 1992-11-01T05:44:30 Initial revision