Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-08-02 | (dir_name): Use bool when appropriate. | Paul Eggert | |
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 | |
2003-04-04 | [TEST_DIRNAME]: Update build instructions for test. | Jim Meyering | |
Add test-cases for DOS filenames. Declare program_name. (main): Set up program_name. | |||
2001-05-21 | (dir_name): Compute append_dot using path, not newpath | Jim Meyering | |
which is not yet declared. | |||
2001-05-12 | (FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h. | Jim Meyering | |
Include <string.h> instead of <stdlib.h>. Do not include <assert.h>; no longer needed. Include xalloc.h. (memrchr): Remove decl. (dir_name_r): Remove. (dir_len): Renamed from dirlen. All callers changed. Rewrite in terms of base_name, for simplicity and consistency. (dir_name): Never return NULL. All callers changed. Do not include <stdlib.h> in test program; no longer needed. return 0; is fine for test program. | |||
2000-12-07 | convert a > expression to the equivalent < one | Jim Meyering | |
2000-12-07 | (FILESYSTEM_PREFIX_LEN): Define. | Jim Meyering | |
(dir_name_r): Declare this function as static. [BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd manifest itself on a name containing a mix of slashes and backslashes. Make this function work with names starting with a DOS-style drive letter and colon prefix. (dir_name): Append `.' if necessary. Based mostly on patches from Prashant TR and Eli Zaretskii. | |||
2000-12-05 | (dir_name_r): Add `const' in a few local declarations. | Jim Meyering | |
2000-11-30 | (dir_name_r): Fix typo: int -> size_t. | Jim Meyering | |
2000-10-21 | tweak comment | Jim Meyering | |
2000-10-21 | (dir_name_r): New function, factored out of dir_name. | Jim Meyering | |
(dir_name): Use dir_name_r. | |||
2000-10-21 | (memrchr): Declare if necessary. | Jim Meyering | |
(dir_name): Remove the restriction that there be no trailing slashes. Now, this code skips past them, effectively ignoring them. [TEST_DIRNAME] (main): New unit tests. | |||
2000-08-01 | (ISSLASH): Define. | Jim Meyering | |
(BACKSLASH_IS_PATH_SEPARATOR): Define. (dir_name) [BACKSLASH_IS_PATH_SEPARATOR]: Handle the case in which both `\' and `/' may be use as path separators. Based on a patch from Prashant TR. | |||
2000-07-29 | (dir_name): Use __MSDOS__ in favor of MSDOS. | Jim Meyering | |
2000-07-29 | remove prematurely-added ISSLASH definition | Jim Meyering | |
2000-07-29 | (dir_name): Assert that there are no trailing slashes. | Jim Meyering | |
2000-07-29 | (dir_name) [MSDOS]: Declare `lim' to be const. | Jim Meyering | |
2000-07-09 | update copyright date | Jim Meyering | |
2000-01-22 | (dir_name): Support for DOS-style file names with drive letters. | Jim Meyering | |
1998-12-07 | (dir_name): Rename from dirname. | Jim Meyering | |
Make argument `const'. Include "dirname.h" | |||
1998-12-07 | ansideclify | Jim Meyering | |
1998-03-15 | Use #if, not #ifdef with HAVE_ macros | Jim Meyering | |
1998-02-22 | revert most of last delta, but leave cppi/copyright changes | Jim Meyering | |
1998-02-19 | (dirname): Include ctype.h. | Jim Meyering | |
[IN_CTYPE_DOMAIN]: Define. [ISALPHA]: Define. [MSDOS]: Add support for DOS-style file names with drive letters. Based on a patch from Eli Zaretskii. | |||
1996-07-15 | update FSF address in copyright | Jim Meyering | |
1994-10-20 | merge with 3.9p | Jim Meyering | |
1994-10-02 | merge with 3.9h | Jim Meyering | |
1993-10-12 | merge with 3.8.4c | Jim Meyering | |
1993-10-06 | merge with 3.8.3b | Jim Meyering | |
1993-03-29 | merge with 3.4.1 | Jim Meyering | |
1993-03-28 | [rindex]: Don't redefine. | Jim Meyering | |
1992-10-31 | Initial revision | Jim Meyering | |