summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2005-09-08Use the phrase "niceness" instead of "nice value" to describePaul Eggert
the biased nice value that can go negative. This corrects a discrepancy with POSIX, which states that nice values are nonnegative.
2005-09-07(time_args): Use NULL in place of 0.Jim Meyering
2005-09-05Colorize set-user-ID and set-group-ID files and sticky,Jim Meyering
other-writable, and sticky-and-other-writable directories. (indicator_no[]): Add new symbols. (indicator_name[]): Add corresponding mode strings. (color_indicator[]): Add an entry for each new mode string. (print_color_indicator): Honor new types. From Mike Frysinger, based on a patch from Fedora.
2005-09-05Colorize set-user-ID and set-group-ID files and sticky,Jim Meyering
other-writable, and sticky-and-other-writable directories. Document the default colors for the new strings. From Mike Frysinger, based on a patch from Fedora.
2005-09-05Colorize set-user-ID and set-group-ID files and sticky,Jim Meyering
other-writable, and sticky-and-other-writable directories. (slack_codes): Add new dircolors mode names. (ls_codes): Add corresponding two-letter ls mode strings. From Mike Frysinger, based on a patch from Fedora.
2005-09-05Don't omit comments until there is better documentation.Jim Meyering
2005-09-04.Jim Meyering
2005-09-01Clarify comment about size bounds.Paul Eggert
2005-08-29Include lstat.h, quotearg.h.Paul Eggert
(diagnose_leading_hyphen): New function. (main): Use it.
2005-08-27Go ahead and leave the patch in (i.e., revertJim Meyering
today's change). It doesn't cause a problem after all, since --exclude-from=- is always handled before --files0-from=F.
2005-08-27Revert the du.c part of the change from 2005-07-02:Jim Meyering
That change (to reopen stdin on F for --files0-from=F) made it so --exclude-from=- and --files0-from=F would not work together.
2005-08-23.Jim Meyering
2005-08-23Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-08-23Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-08-23Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-08-23Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-08-23Include <float.h> unconditionally.Jim Meyering
2005-08-23(print_uptime): Remove unnecessary parens in `#if defined (SYMBOL)' expressions.Jim Meyering
2005-08-22(do_link): If ln is invoked with --interactive (-i),Jim Meyering
encounters an existing destination file, and gets an affirmative response, then first try to unlink the destination file rather than simply failing. Suggestion from Karl Berry.
2005-08-22(xwrite_stdout): Rename from xwrite. Remove always-equal-to-STDOUT_FILENOJim Meyering
parameter and associated assertion. Adjust all callers.
2005-08-21(main): Declare `target_directory' with const attribute.Jim Meyering
2005-08-21(time_style): Add `const' attribute.Jim Meyering
(tot_dui): Remove unnecessary (and too-short) initializer list.
2005-08-18(usage) [-b,-t]: Ensure that there are at least twoJim Meyering
spaces between each option and the corresponding description -- this lets help2man format entries properly. Reported by Edward Welbourne.
2005-08-17(usage): Fix typo s/POS 2/POS2/.Jim Meyering
2005-08-16(show_dev): New arg STAT_FILE. All uses changed.Paul Eggert
This sometimes gives better results on networked file systems that do not respect POSIX semantics. Problem reported by Bruno Haible.
2005-08-15Don't print uninitialized data (or anything else) to stdoutJim Meyering
upon localtime failure. (show_date): Remove stray `puts (buf);' (debugging?) from the 2004-02-02 change.
2005-08-14(usage): Fix typo s/formated/formatted/ reported by Norbert KieselJim Meyering
2005-08-14.Jim Meyering
2005-08-14Don't include "timespec.h".Jim Meyering
2005-08-14Use one fewer file descriptor in a common case.Jim Meyering
Include "fd-reopen.h", rather than "fcntl--.h". Use fd_reopen rather than open.
2005-08-14Include "timespec.h".Jim Meyering
(age_of): Return the nanoseconds part of the timestamp, if available. (binary_operator) [-nt, -ot]: Use nanosecond values to break ties.
2005-08-14(long_time_expected_width): Revert last change, just toJim Meyering
be paranoid, and add a comment explaining why. Paul Eggert mentioned the possibility.
2005-08-13Don't define mbrtowc at all.Jim Meyering
If mbstate_t is not defined, then AC_TYPE_MBSTATE_T will define it to `int' for us.
2005-08-12(main): Explain why we reopen stdin for write-only access.Jim Meyering
2005-08-12(long_time_expected_width): Don't test for failed localtime.Jim Meyering
That cannot happen when the result date's year is in range. Add an assertion instead.
2005-08-12(sort_found_occurs, digest_word_file): Likewise.Jim Meyering
(alloc_and_compile_regex): Likewise.
2005-08-12(sort_files): Use cleaner `sizeof *VAR_NAME' rather than `sizeof (TYPE_NAME)'.Jim Meyering
2005-08-12Test `!defined HAVE_MBSTATE_T' rather thanJim Meyering
`defined mbstate_t' to detect missing support for mbstate_t. The latter didn't work for HP-UX 11.23.
2005-08-12Add bulletproofing in case stdin is closed.Jim Meyering
(have_read_stdin): Remove global variable. (dc_parse_stream): Always use stdin (freopen, if needed) rather than sometimes using fopen to get a new file descriptor. Call fclose unconditionally. (main): Don't close stdin here. If needed, now it's already done by dc_parse_stream.
2005-08-12(dc_parse_file): Remove comment about now-removed OPENOPTS.Jim Meyering
2005-08-12(main): Cosmetic: use X2REALLOC rather than x2realloc.Jim Meyering
2005-08-12(fold_file): Cosmetic: use X2REALLOC rather than x2realloc.Jim Meyering
2005-08-12Cosmetic: use X2NREALLOC (only two arguments) rather than x2nrealloc (with ↵Jim Meyering
three).
2005-08-12adjust long linesJim Meyering
2005-08-12(main): Cosmetic: use '\0' in place of 0.Jim Meyering
2005-08-02.Jim Meyering
2005-08-02Include "xanstrftime.h".Jim Meyering
(show_date): Use xanstrftime instead of open-coding it.
2005-08-02Include "xanstrftime.h".Jim Meyering
(show_date): Use xanstrftime instead of open-coding it.
2005-08-02(show_date): Remove now-unnecessary code thatJim Meyering
treated an empty format string as a special case.
2005-07-19(usage): Adjust printf argument list to match new format string.Jim Meyering