summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-05-19*** empty log message ***Jim Meyering
2001-05-19Test new, --all-repeated options.Jim Meyering
2001-05-19*** empty log message ***Jim Meyering
2001-05-19Support new modes for uniq's --all-repeated option.Jim Meyering
The default behavior is unchanged. Include argmatch.h. (usage): Update. (check_file): Implement it. (main): Handle new, optional arguments. Patch by Padraig Brady.
2001-05-19s/GNU text/GNU command line/ ... utilities.Jim Meyering
2001-05-19s/was/were/Jim Meyering
2001-05-19*** empty log message ***Jim Meyering
2001-05-19Change a few uses of `timezone' to `time zone'.Jim Meyering
2001-05-16(my-distcheck): Remove work-around kludge andJim Meyering
associated comment, now that automake has ben fixed.
2001-05-16*** empty log message ***Jim Meyering
2001-05-16Use proper quoting so brackets appear in the test program.Jim Meyering
2001-05-16.Jim Meyering
2001-05-15*** empty log message ***Jim Meyering
2001-05-15(parse_obsolescent_option): Use t_count_lines, notJim Meyering
count_lines, in error message.
2001-05-15*** empty log message ***Jim Meyering
2001-05-15Use proper quoting so brackets appear in the test program.Jim Meyering
2001-05-15*** empty log message ***Jim Meyering
2001-05-15(struct fileinfo.linkmode): Now st_mode.Jim Meyering
(print_color_indicator, print_name_with_quoting, print_type_indicator, length_of_file_name_and_frills): Use mode_t, not unsigned int, to store modes. (dired_dump_obstack): Do not assume size fits in 'int'. (get_link_name): readlink returns ssize_t, not int. (make_link_path): Store buffer size as size_t, not int. (print_long_format): Use unsigned long, not unsigned, to print nlink_t, uid_t, gid_t, major_t, minor_t.
2001-05-13*** empty log message ***Jim Meyering
2001-05-13(major_t, minor_t): Define to unsigned int if undefined.Jim Meyering
2001-05-13*** empty log message ***Jim Meyering
2001-05-13(main): Check for NODEV device only if NODEV is defined.Jim Meyering
2001-05-13(NODEV): Remove, undoing previous change.Jim Meyering
2001-05-13*** empty log message ***Jim Meyering
2001-05-13(dir_name, dir_len): Define to different namesJim Meyering
to avoid shadowing warnings due to new declarations from dirname.h.
2001-05-13*** empty log message ***Jim Meyering
2001-05-13Add new --dereference-command-line option.Jim Meyering
-H now means this instead of meaning --si, as POSIX requires.
2001-05-13*** empty log message ***Jim Meyering
2001-05-13(run_tests): Fail if any test name is longer than 12 bytes.Jim Meyering
2001-05-13Shorten test names so the length of a resulting file name doesn't exceed 14.Jim Meyering
2001-05-13Rename slink-dir test to slink-dir-dF. Add new testsJim Meyering
slink-dir-F, slink-dir-dFH, slink-dir-dFL.
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-12Include "dirname.h".Jim Meyering
(base_name): Remove decl; now in dirname.h.
2001-05-12Include "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-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.