Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-04-11 | (main): Don't assume fopen returns stdout after closing | Paul Eggert | |
stdout. Use freopen instead. | |||
2005-04-11 | Include 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-11 | Include 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-11 | Include 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-11 | Include 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-11 | Include unistd-safer.h. | Paul Eggert | |
(copy_reg): Use fd_safer. | |||
2005-04-11 | Include 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-11 | Add 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-11 | Add 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-11 | Include unistd-safer.h. | Paul Eggert | |
(save_cwd): Use fd_safer. | |||
2005-04-11 | Include stdio-safer.h. | Paul Eggert | |
(getusershell): Use fopen_safer. | |||
2005-04-11 | Include unistd-safer.h. | Paul Eggert | |
(getloadavg): Use fd_safer. | |||
2005-04-11 | Include unistd-safer.h. | Paul Eggert | |
(fts_safe_changedir): Use fd_safer. | |||
2005-04-11 | Include 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-11 | Initial revision | Paul 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. | |||
2005-04-09 | (quit): Define with ATTRIBUTE_NORETURN. | Jim Meyering | |
Now that close_stdout closes standard output unconditionally, these workarounds for dd and cat are no longer necessary. (close_stdout_wrapper): Remove function. (main): Call atexit with close_stdout, instead. | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | (__attribute__, ATTRIBUTE_UNUSED): Define. | Jim Meyering | |
(exit_failure_callback, fallback_failure_callback): Mark unused parameters with ATTRIBUTE_UNUSED. | |||
2005-04-09 | (canon_host) [HAVE_GETADDRINFO]: Use memset | Jim Meyering | |
rather than `= { 0 };' to initialize local `hint'. | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | Readability nit: | Jim Meyering | |
Change this: # define __attribute__(x) to this: # define __attribute__(x) /* empty */ | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | (posixtime) [lint]: Avoid spurious warning from gcc-4's | Jim Meyering | |
-Wuninitialized: initialize tm0.tm_year. | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | (humblock): Set *options even when returning due to | Jim Meyering | |
xstrtoumax conversion failure. Thanks to a used-uninitialized warning from gcc-4. | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | (rm invocation): Say that --recursive removes | Jim Meyering | |
listed directories too, not just their contents. | |||
2005-04-09 | (usage): Mention that --recursive removes listed | Jim Meyering | |
directories too, not just their contents. Say that by default, rm does not remove directories. | |||
2005-04-09 | *** empty log message *** | Jim Meyering | |
2005-04-09 | (sc_system_h_headers): Propagate exit status through trap. | Jim Meyering | |
2005-04-09 | Don't include "timespec.h". system.h does that. | Jim Meyering | |
2005-04-09 | (iread, iwrite): Use char * buffer, not void *, so we can do pointer | Paul Eggert | |
arithmetic on it. | |||
2005-04-09 | Regenerate. | Paul Eggert | |
2005-04-09 | Signal-handling cleanup motivated by core dumps in dd. | Paul Eggert | |