Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-03-26 | (base_name): New semantics - malloc the result. | Jim Meyering | |
Preserve // when it is special. Preserve relative files that look like drive letters. (base_len): Preserve // when it is special. (last_component): New method, similar to old base_name semantics. | |||
2005-09-22 | Sync from gnulib. | Paul Eggert | |
2005-06-02 | Don't use "path" or "filename" to mean "file name" | Paul Eggert | |
in comments or local variable names. | |||
2005-05-14 | Update FSF postal mail address. | Jim Meyering | |
2004-06-30 | (FILE_SYSTEM_PREFIX_LEN): Renamed from | Jim Meyering | |
FILESYSTEM_PREFIX_LEN. All uses changed. | |||
2003-09-10 | Include <string.h> unconditionally. | Jim Meyering | |
2001-05-12 | Use "", not <> to include dirname.h. | Jim Meyering | |
2001-05-12 | (FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Remove; now in dirname.h. | Jim Meyering | |
Do not include <stdio.h>, <assert.h>; no longer needed. Include <string.h>, <dirname.h>. (base_name): Allow file names ending in slashes, other than names that are all slashes. In this case, return the basename followed by the slashes. This is more general, and can be used in places where the original base_name purposely had an assertion failure. (base_len): New function. | |||
2001-01-16 | Include <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-09 | update copyright date | Jim 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 `/' (in | Jim Meyering | |
conformance with the single unix spec). Reported by Peter Moulder. | |||
1998-02-24 | capitalize macro params and protoize | Jim Meyering | |
1998-02-24 | add copyright | Jim 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-27 | Don't include backupfile.h. | Jim Meyering | |
1997-05-27 | Update from FSF via patch-2.2.93. | Jim Meyering | |
1996-07-15 | indent cpp-directives | Jim Meyering | |
1996-07-15 | update FSF address in copyright | Jim 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-01 | Initial revision | Jim Meyering | |