summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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.
2005-07-11(main): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
2005-07-11(open_next_file): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
2005-07-11(head_lines, head_file): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
(elide_tail_bytes_file, elide_tail_lines_file, head_bytes): (head_lines, head_file): Always use binary mode except for std tty.
2005-07-11(cksum): Avoid setmode; use POSIX-specified routines instead.Paul Eggert
2005-07-11(usage, main, long_options) [O_BINARY]:Paul Eggert
Remove support for -B. Use same rules as other programs to decide whether to use binary I/O, except that the -bensAE options always select text mode. (main): Avoid setmode; use POSIX-specified routines instead.
2005-07-09Don't include stdio.h; no longer needed.Paul Eggert
2005-07-09Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.Paul Eggert
stropt.h -> stropts.h
2005-07-09Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.Paul Eggert
stropt.h -> stropts.h
2005-07-09Use only HAVE_SYS_IOCTL_H to decide whether to include sys/ioctl.h.Paul Eggert
2005-07-08(print_user): Don't assume uid fits in unsigned int.Paul Eggert
(print_group): Likewise, for gid.
2005-07-08Include stropt.h if available.Paul Eggert
2005-07-08Include stropt.h if available.Paul Eggert
Use HAVE_FIONREAD_IN_SYS_IOCTL instead of _POSIX_SOURCE to decide whether to include <sys/ioctl.h>.
2005-07-08Regenerate.Paul Eggert
2005-07-07.Jim Meyering