Age | Commit message (Collapse) | Author | |
---|---|---|---|
2001-05-13 | (enum Dereference_symlink): New type. | Jim Meyering | |
(dereference): New var, replacing trace_links, which was removed. (long_options, main, decode_switches, gobble_file, usage): Implement the changes. | |||
2001-05-13 | *** empty log message *** | Jim Meyering | |
2001-05-13 | (NODEV): New macro, if not already defined. | Jim Meyering | |
2001-05-13 | (main): Check for overflow when converting out of uintmax_t. | Jim Meyering | |
Do not assume that major_t and minor_t are no wider than int. Check for makedev failures. Convert device numbers via uintmax_t, not unsigned long, just in case. Coalesce duplicate code in the block and character device cases. | |||
2001-05-12 | . | Jim Meyering | |
2001-05-12 | *** empty log message *** | Jim Meyering | |
2001-05-12 | Include "dirname.h". | Jim Meyering | |
(base_name): Remove decl; now in dirname.h. | |||
2001-05-12 | Include "dirname.h". | Jim Meyering | |
(base_name, strip_trailing_slashes): Remove decls; now in dirname.h. (main): Use base_len instead of strip_trailing_slashes to strip trailing slashes. | |||
2001-05-12 | (strip_trailing_slashes): Remove decl; now in dirname.h. | Jim Meyering | |
(main): Use dir_len rather than dir_name_r. | |||
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-12 | Use "", not <> to include non-system header files. | Jim Meyering | |
2001-05-12 | Use "", not <> to include non-system header files. | Jim Meyering | |
2001-05-12 | Use "", 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-12 | Include dirname.h. | Jim Meyering | |
(strip_trailing_slashes): Remove decl; now in dirname.h. | |||
2001-05-12 | Include dirname.h. | Jim Meyering | |
(strip_trailing_slashes): Remove decl; now in dirname.h. | |||
2001-05-12 | . | Jim Meyering | |
2001-05-12 | *** empty log message *** | Jim Meyering | |
2001-05-12 | (strip_trailing_slashes): Likewise. | Jim Meyering | |
(find_mount_point): No need to strip trailing slashes before invoking new dir_name. | |||
2001-05-12 | (strip_trailing_slashes): Remove; now in dirname.h. | Jim Meyering | |
(make_path_private): Use dir_len instead of dir_name, and avoid an extra mealloc call. | |||
2001-05-12 | (copy_internal): Remove the code that tested for NULL | Jim Meyering | |
dir_name return value. That can't happen. | |||
2001-05-12 | Include "dirname.h". | Jim Meyering | |
(strip_trailing_slashes_2): Remove; now done by strip_trailing_slashes. All callers changed. | |||
2001-05-12 | (base_name): Remove decl; now in dirname.h. | Jim Meyering | |
2001-05-12 | Include dirname.h, to get base_name | Jim Meyering | |
2001-05-12 | include dirname.h. | Jim Meyering | |
2001-05-12 | (strip_trailing_slashes): Remove declaration; now in dirname.h. | Jim Meyering | |
2001-05-12 | Wording changes related to -o, -n, and -g. | Jim Meyering | |
2001-05-12 | (usage): Minor wording changes related to -o, -n, and -g. | Jim Meyering | |
From Paul Eggert. | |||
2001-05-12 | *** empty log message *** | Jim Meyering | |
2001-05-12 | *** empty log message *** | Jim Meyering | |
2001-05-12 | (mode_changed, change_file_mode): | Jim Meyering | |
There's no need to invoke both lstat and stat here, so call just one of the two functions. | |||
2001-05-11 | . | Jim Meyering | |
2001-05-11 | (shred invocation): Warn about backups and mirrors. | Jim Meyering | |
2001-05-11 | (usage): Warn about backups and mirrors. | Jim Meyering | |
2001-05-11 | s/POSIX/posix/ | Jim Meyering | |
2001-05-11 | remove trailing spaces | Jim Meyering | |
2001-05-11 | fix typo: missing `r}' in this line: | Jim Meyering | |
@itemx --temporary-directory=@var{tempdir} | |||
2001-05-11 | shift off the leading `_' | Jim Meyering | |
2001-05-11 | Factor out the root-only test into this ... | Jim Meyering | |
Source ../root-only instead. | |||
2001-05-11 | *** empty log message *** | Jim Meyering | |
2001-05-11 | (shred invocation): Warn about backups. From Nelson Beebe. | Jim Meyering | |
2001-05-11 | add a space after a period | Jim Meyering | |
(true invocation): fix a typo | |||
2001-05-11 | s/restriction deletion flag | Jim Meyering | |
/restricted deletion flag/ |