summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-03Include fd-reopen.h.Paul Eggert
(display_all, display_settings, display_window_size, set_window_size): Remove fd arg, since we now assume stdin. All callers changed. (main): Reuse stdin rather than opening a new one. This saves a file descriptor.
2005-07-03Include fcntl--.h rather than unistd-safer.h.Paul Eggert
Include fd-reopen.h. (input_desc): Remove. All uses replaced by STDIN_FILENO. (cwrite): Don't call fd_safer; no longer needed now that we include fcntl--.h. (main): Reuse stdin rather than opening a new one. This saves a file descriptor.
2005-07-03Include stdio--.h rather than stdio-safer.h.Paul Eggert
Include stdlib--.h. Do not include unistd-safer.h. (create_temp_file): Don't call fd_safer; no longer needed now that we include *--.h files. (xfopen): Don't call fopen_safer, for similar reasons.
2005-07-03Include fcntl--.h, not unistd-safer.h.Paul Eggert
(wipename, wipe_file): Don't use fd_safer; no longer needed now that we include fcntl--.h.
2005-07-03Include stdio--.h, not stdio-safer.h.Paul Eggert
(open_file): Invoke fopen, not fopen_safer.
2005-07-03Include fd-reopen.h.Paul Eggert
Include unistd--.h, not unistd-safer.h. (main): Use fd_reopen to simplify code. When replacing stdin, use "/dev/null" not "/", as that's less likely to go wrong these days. (main): Use dup, not dup_safer.
2005-07-03Include stdio--.h.Paul Eggert
(digest_check): Don't try to read both checksums and data from stdin.
2005-07-03Include stdio--.h, not stdio-safer.h.Paul Eggert
(main): Use fopen, not fopen_safer.
2005-07-03Include fd-reopen.h.Paul Eggert
(open_fd): Remove. All callers changed to use fd_reopen instead.
2005-07-03Include fd-reopen.h.Paul Eggert
Include stdio--.h, not stdio-safer.h. (input_desc): Remove. All uses changed to STDIN_FILENO. (set_input_file): Reopen stdin, to simplify code. (create_output_file): Use fopen, not fopen_safer.
2005-07-03Include fcntl--.h, not unistd-safer.h.Paul Eggert
(copy_reg): Don't call fd_safer; no longer needed now that we include fcntl--.h.
2005-07-03Include stdio--.h, not stdio-safer.h.Paul Eggert
(compare_files): Use fopen, not fopen_safer.
2005-07-03(gl_PREREQ): Require gl_FCNTL_SAFER,Paul Eggert
gl_FD_REOPEN, gl_STDLIB_SAFER.
2005-07-03Include fcntl--.h rather than fcntl.h.Paul Eggert
Do not include unistd-safer.h. (save_cwd): Don't call fd_safer; no longer needed now that we include fcntl--.h.
2005-07-03Include stdio--.h rather than stdio.hPaul Eggert
and stdio-safer.h. (getusershell): Call fopen, not fopen_safer.
2005-07-03Include fcntl--.h rather than fcntl.h.Paul Eggert
Do not include unistd-safer.h. (getloadavg): Don't call fd_safer; no longer needed now that we include fcntl--.h.
2005-07-03(fd_safer): Remove decl.Paul Eggert
Include fcntl--.h rather than unistd-safer.h (fts_safe_changedir): Don't call fd_safer; no longer needed now that we include fcntl--.h.
2005-07-03Include stdio-safer.h first, to check interface.Paul Eggert
Don't bother including stdio.h, since stdio-safer.h does.
2005-07-03Initial revision.Paul Eggert
2005-07-03Add support for fcntl--.h, stdio--.h, stdlib--.h, unistd--.h, etc.Paul Eggert
2005-07-03Don't include stdio-safer.h; no longer needed.Paul Eggert
(writeline): Remove stream arg; we now always output to stdout. All callers changed. (check_file): Reuse stdout rather than opening a new stream. This saves a file descriptor.
2005-07-03(main): Reuse stdin rather than opening a new stream.Paul Eggert
This saves a file descriptor.
2005-07-02.Jim Meyering
2005-07-02*** empty log message ***Jim Meyering
2005-07-02(EXTRA_DIST): Add .x-sc_obsolete_symbols.Jim Meyering
2005-07-02(sc_obsolete_symbols): New rule.Jim Meyering
(syntax-check-rules): Add it to the list.
2005-07-02*** empty log message ***Jim Meyering
2005-07-02*** empty log message ***Jim Meyering
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering
2005-07-02*** empty log message ***Jim Meyering
2005-07-02Update from gnulib.Jim Meyering
2005-07-02Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.Jim Meyering
2005-07-02*** empty log message ***Jim Meyering
2005-07-02Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.Jim Meyering
2005-07-01*** empty log message ***Jim Meyering
2005-07-01Assume HAVE_UNISTD_H.Jim Meyering
2005-07-01.Jim Meyering
2005-07-01Don't check for fcntl.h anymore. Now we assume it exists and is usable.Jim Meyering
2005-07-01*** empty log message ***Jim Meyering
2005-07-01*** empty log message ***Jim Meyering
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,Jim Meyering
and don't check for fcntl.h).
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally,Jim Meyering
and don't include <sys/file.h>).
2005-07-01*** empty log message ***Jim Meyering
2005-07-01*** empty log message ***Jim Meyering
2005-07-01Assume HAVE_FCNTL_H (i.e., include <fcntl.h>Jim Meyering
unconditionally, and don't include <sys/file.h>).
2005-07-01*** empty log message ***Jim Meyering
2005-07-01update from gnulibJim Meyering
2005-07-01* xnanosleep.c: Include timespec.h, since OpenBSD 3.4 <time.h>Paul Eggert
declares only 'struct timespec;' (!).
2005-06-30*** empty log message ***Jim Meyering
2005-06-30.Jim Meyering