summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2001-05-12*** empty log message ***Jim Meyering
2001-05-12(ISSLASH): Remove; now in dirname.h.Jim Meyering
(strip_trailing_slashes): Return nonzero if a slash was stripped. Do not strip the last slash after a file system prefix.
2001-05-12(base_name): Remove; now in dirname.h.Jim Meyering
(STREQ): Remove. (same_name): Handle the case where the basename ends in trailing '/'.
2001-05-12(DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN): New macros.Jim Meyering
(base_name, base_len, dir_len, strip_trailing_slashes): New decls.
2001-05-12(DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): Remove; now in dirname.h.Jim Meyering
(path_concat): Use base_len to compute base length, not strlen; this means we cannot rely on memcpy to null-terminate.
2001-05-12Use "", not <> to include non-system header files.Jim Meyering
2001-05-12Use "", not <> to include non-system header files.Jim Meyering
2001-05-12Use "", not <> to include dirname.h.Jim Meyering
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.
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-05-12(base_name): Remove; now in dirname.h.Jim Meyering
Include <dirname.h> after size_t is defined. (find_backup_file_name, max_backup_version): Use base_len instead of rolling it ourselves. Handle the case of "" and (on DOS) "C:" correctly.
2001-05-12(ISSLASH, base_name): Remove; now in dirname.h.Jim Meyering
Include <dirname.h> after size_t is defined. (addext): Use base_len to trim redundant trailing slashes instead of doing it ourselves. But do not trim the last slash if it is not redundant.
2001-05-12Include dirname.h.Jim Meyering
(strip_trailing_slashes): Remove decl; now in dirname.h.
2001-05-12Include dirname.h.Jim Meyering
(strip_trailing_slashes): Remove decl; now in dirname.h.
2001-05-12.Jim Meyering
2001-04-08*** empty log message ***Jim Meyering
2001-04-08that's necessary when the offset spans a DST transition.Jim Meyering
2001-04-02Update from GNU libc.Jim Meyering
2001-04-02*** empty log message ***Jim Meyering
2001-03-19*** empty log message ***Jim Meyering
2001-03-19(version_etc_copyright): Update to 2001.Jim Meyering
2001-03-16*** empty log message ***Jim Meyering
2001-03-16(uint64_t): Define to uintmax_t ifJim Meyering
not defined, and if UINT64_MAX is not defined. Required at least for Vax Ultrix4.3, which doesn't define uint64_t. Reported by John David Anglin.
2001-03-15*** empty log message ***Jim Meyering
2001-03-15(BeOS): Use wildcard syntax.Jim Meyering
2001-03-15(locale_charset): Allow wildcard syntax. Also resolveJim Meyering
alias if codeset is empty.
2001-03-13*** empty log message ***Jim Meyering
2001-03-13(path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]:Jim Meyering
Don't insert a backslash when concatenating e.g., `C:' and `foo'. From Bruno Haible.
2001-03-13.Jim Meyering
2001-03-12.Jim Meyering
2001-03-09.Jim Meyering
2001-03-06(locale_charset): Don't use setlocale(LC_CTYPE,NULL).Jim Meyering
Don't return NULL.
2001-03-06(print_unicode_char): Simplify accordingly.Jim Meyering
2001-03-06*** empty log message ***Jim Meyering
2001-03-06Update for FreeBSD 4.2 and OSF/1 5.1. Add support for DOS/DJGPP.Jim Meyering
2001-03-04.Jim Meyering
2001-03-03(libfetish_a_SOURCES): Add dup-safer.c, fopen-safer.c.Jim Meyering
(noinst_HEADERS): Add stdio-safer.h, unistd-safer.h.
2001-03-03*** empty log message ***Jim Meyering
2001-03-03from Paul EggertJim Meyering
2001-03-03.Jim Meyering
2001-03-02from GNU libcJim Meyering
2001-03-02from GNU libcJim Meyering
2001-03-02.Jim Meyering
2001-02-17*** empty log message ***Jim Meyering
2001-02-17Sync from GNU libc. Use double quotes, not <...>Jim Meyering
around included file name.
2001-02-17*** empty log message ***Jim Meyering
2001-02-17(__strnlen): Merge in a change from GNU libc.Jim Meyering
2001-02-17*** empty log message ***Jim Meyering
2001-02-17update comments from libcJim Meyering
2001-02-17*** empty log message ***Jim Meyering