summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-12Reword usage, man pages to use "user ID" rather than "uid" etc.Paul Eggert
2005-04-12(usage, main): Use "user ID", not "UID", and similarly for "group ID".Paul Eggert
2005-04-12(usage): Use "user ID", not "UID", and similarlyPaul Eggert
for "group ID".
2005-04-12Reword to match coreutils.texi.Paul Eggert
2005-04-12Reword to match user manual.Paul Eggert
2005-04-12For consistency, standardize on "user ID" ratherPaul Eggert
than "uid" or "UID" or "user id". Similarly for "group ID".
2005-04-11Regenerate.Paul Eggert
2005-04-11Add bulletproofing for cases where stdin, stdout, or stderr are closed.Paul Eggert
2005-04-11Add bulletproofing for cases where stdin, stdout, or stderr are closed.Paul Eggert
2005-04-11Include stdio_safer.h.Paul Eggert
(check_file): Don't assume fopen cannot return stdin or stdout.
2005-04-11(next_file): Don't assume fopen cannot return stdin.Paul Eggert
2005-04-11(have_read_stdin): Remove; no longer needed. All usesPaul Eggert
removed. (tsort): Do not assume fopen can't return stdin. Close stdin before returning. All uses changed.
2005-04-11Include unistd-safer.h.Paul Eggert
(touch): Use fd_safer.
2005-04-11Include stdio-safer.h.Paul Eggert
(tee): Use fopen_safer.
2005-04-11Include unistd-safer.h rather than fcntl-safer.h.Paul Eggert
(recheck, tail_file): Use fd_safer rather than open_safer.
2005-04-11Include unistd-safer.h.Paul Eggert
(copy_to_temp): Use fd_safer. (tac_file): Don't assume fopen cannot return stdin.
2005-04-11(bsd_sum_file, sysv_sym_file):Paul Eggert
Use same pattern as elsewhere for checking for stdin.
2005-04-11Include unistd-safer.h.Paul Eggert
(cwrite): Use fd_safer. Replace mystery constant 0666 with symbolic version, as POSIX requires.
2005-04-11Include unistd-safer.h.Paul Eggert
(create_temp_file): Use fd_safer. (xfclose): Don't assume fileno (stdin) == STDIN_FILENO, etc.
2005-04-11Include unistd-safer.h.Paul Eggert
(wipename): Use fd_safer on directory file descriptor. (wipefile): Remove special case for /dev/fd/* on older hosts. It didn't work in general, and wasn't documented. Use fd_safer.
2005-04-11(main): Don't assume fopen returns stdout after closingPaul Eggert
stdout. Use freopen instead.
2005-04-11Include stdio-safer.h.Paul Eggert
(open_file): Use fopen_safer. (close_file): Don't assume fopen does not return stdin.
2005-04-11(paste_serial): Don't assume fopen does not return stdin.Paul Eggert
2005-04-11(check_and_close): Don't assume fopen does not return stdin.Paul Eggert
2005-04-11Include unistd-safer.h.Paul Eggert
(main): Don't dup stderr to stdin or stdout by mistake.
2005-04-11(digest_file, digest_check):Paul Eggert
Don't assume that fopen does not return stdin.
2005-04-11Include stdio-safer.h.Paul Eggert
(main): Use fopen_safer. Simplify the resulting code.
2005-04-11(head_file): Don't assume open does not return 0.Paul Eggert
2005-04-11(dc_parse_file): Don't assume fopen does not return stdin.Paul Eggert
2005-04-11Include stdio-safer.h.Paul Eggert
(input_desc): Remove unnecessary static initialization. (set_input_file): Use STDIN_FILENO, not 0. (create_output_file): Use fopen_safer.
2005-04-11Include unistd-safer.h.Paul Eggert
(copy_reg): Use fd_safer.
2005-04-11Include stdio-safer.h.Paul Eggert
(compare_files): Exit right away on I/O error rather than continuing and producing confusing output and error messages. Return void, not int; all callers changed. Use fopen_safer to avoid confusion with file descriptors.
2005-04-11Add bulletproofing for cases where stdin, stdout, or stderr are closed.Paul Eggert
2005-04-11(gl_PREREQ): Don't require gl_FCNTL_SAFER.Paul Eggert
2005-04-11(gl_UNISTD_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.Paul Eggert
Invoke gl_PREREQ_FD_SAFER. (gl_PREREQ_FD_SAFER): New macro.
2005-04-11(gl_STDIO_SAFER): Use AC_LIBSOURCES and AC_LIBOBJ.Paul Eggert
2005-04-11Add bulletproofing for cases where stdin, stdout, or stderr are closed.Paul Eggert
2005-04-11(libfetish_a_SOURCES): Remove dup-safer.c,Paul Eggert
fcntl-safer.h, fopen-safer.c, open-safer.c, stdio-safer.h, unistd-safer.h.
2005-04-11(fd_safer): New decl.Paul Eggert
2005-04-11Include unistd-safer.h.Paul Eggert
(save_cwd): Use fd_safer.
2005-04-11Include stdio-safer.h.Paul Eggert
(getusershell): Use fopen_safer.
2005-04-11Include unistd-safer.h.Paul Eggert
(getloadavg): Use fd_safer.
2005-04-11Include unistd-safer.h.Paul Eggert
(fts_safe_changedir): Use fd_safer.
2005-04-11Include unistd-safer.h first, to test interface.Paul Eggert
(dup_safer) [!deefined F_DUPD]: Use new fd_safer function instead of rolling our own code.
2005-04-11Initial revisionPaul Eggert
2005-04-10(chopt_free): Mark parameter as unused.Jim Meyering
2005-04-10.Jim Meyering
2005-04-09.Jim Meyering
2005-04-09(close_stdout_wrapper): Likewise.Jim Meyering
Don't close STDOUT_FILENO explicitly; close_stdout does it.
2005-04-09(__attribute__, ATTRIBUTE_UNUSED): Define.Jim Meyering
Mark parameter `sp' with ATTRIBUTE_UNUSED.