summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2005-07-19(usage, main): --check now accepts multiple input files.Paul Eggert
2005-07-18(EXIT_STATUS): New macro.Paul Eggert
(PROGRAM_NAME, usage): Behave like "false" if EXIT_STATUS indicates. (usage): Remove "These option names may not be abbreviated."
2005-07-18Initial revision.Paul Eggert
2005-07-18(BUILT_SOURCES): Remove false.c.Paul Eggert
(false.c): Remove; it's now a source file.
2005-07-15(main): Don't worry about POSIXLY_CORRECT.Paul Eggert
2005-07-14Remove FESETROUND_LIBM; no longer needed.Paul Eggert
2005-07-12.Jim Meyering
2005-07-11(setmode, fileno): Remove; no longer needed, we think.Paul Eggert
(SET_MODE, SET_BINARY, SET_BINARY2): Remove. [defined __DJGPP__]: Don't include <io.h> or <sys/exceptn.h>.
2005-07-11(wipefile): Always use binary mode. Clearly thisPaul Eggert
never worked right on DOS!
2005-07-11(usage): Clarify whether text or binary is the default.Paul Eggert
(split_3, main): BINARY is now a 3-way value. All uses changed. (digest_file): Likewise. Clear *BINARY if we determine the file to be text. All uses changed. (main): Don't report a file to be binary if we actually read it as text in MS-DOS, because it was a terminal.
2005-07-11(unexpand): Always copy in text mode. POSIX saysPaul Eggert
the input and output must be text.
2005-07-11(expand): Always copy in text mode. POSIX saysPaul Eggert
the input and output must be text.
2005-07-11(copy_reg): Always copy in binary mode.Paul Eggert
2005-07-11(wc): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
(wc_file): FILE might be null now. (main): Simplify code a bit, so that fewer places need the setmode fixes.
2005-07-11(main): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
2005-07-11(tee): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
2005-07-11(tail_bytes, tail_lines, tail_file, main):Paul Eggert
Avoid setmode; use POSIX-specified routines instead.
2005-07-11(copy_to_temp, tac_file, main):Paul Eggert
Avoid setmode; use POSIX-specified routines instead.
2005-07-11(bsd_sum_file, sysv_sym_file):Paul Eggert
Avoid setmode; use POSIX-specified routines instead.