Jim Meyering
70c58e8192
(base_name): Use ISSLASH rather than comparing against `/'.
2000-07-29 16:45:30 +00:00
Jim Meyering
2546495dab
(base_name): Add an assertion.
2000-07-23 09:25:14 +00:00
Jim Meyering
fde850f7ad
update copyright date
2000-07-09 07:22:43 +00:00
Jim Meyering
6710abd4ae
(base_name): Add prototype. From Akim Demaille.
1999-09-26 18:37:02 +00:00
Jim Meyering
703336d148
*** empty log message ***
1999-03-13 16:19:18 +00:00
Jim Meyering
2bc2cc2f54
(base_name): If NAME is all slashes, return `/' (in
...
conformance with the single unix spec). Reported by Peter Moulder.
1999-03-13 16:09:00 +00:00
Jim Meyering
7a04e95c62
capitalize macro params and protoize
1998-02-24 22:59:34 +00:00
Jim Meyering
938e7fe7ef
add copyright
1998-02-24 22:58:26 +00:00
Jim Meyering
41faa55aed
(base_name_strip_trailing_slashes): Remove.
1997-06-29 22:26:18 +00:00
Jim Meyering
04c0cd59a5
(base_name_strip_trailing_slashes): new function.
1997-06-29 22:25:54 +00:00
Jim Meyering
437b98461e
Don't include backupfile.h.
1997-05-27 14:16:49 +00:00
Jim Meyering
ca55ba3715
Update from FSF via patch-2.2.93.
1997-05-27 09:41:25 +00:00
Jim Meyering
19bff1c02d
indent cpp-directives
1996-07-15 03:56:06 +00:00
Jim Meyering
e8b07e3796
update FSF address in copyright
1996-07-15 03:36:16 +00:00
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