Age | Commit message (Collapse) | Author |
|
(not just a warning) if GCC is used and the types don't match.
|
|
a type, not a value.
|
|
(DECIMAL_DIGIT_ACCUMULATE): Change last arg from T's maximum value
to T itself. All callers changed. Check that T is unsigned, and
that Accum is of type T. This fixes a bug in the unlikely case
where SIZE_MAX <= INT_MAX, and it no longer requires typeof to do
the proper validity checks.
|
|
|
|
|
|
|
|
|
|
|
|
like assert. Use sizeof, rather than equivalent ((...)0), for
it's slightly simpler syntax. Suggestions from Paul Eggert.
(verify_decl): Rename from VERIFY.
|
|
(usage): Remove description of --reply.
|
|
|
|
|
|
Update caller.
|
|
|
|
(touch): Don't call fd_safer; no longer needed now that
we include fcntl--.h.
|
|
(tee): Don't call fopen_safer; no longer needed now that we
include stdio--.h.
|
|
(recheck, tail_file): Don't call fd_safer; no longer needed
now that we include fcntl--.h.
|
|
(copy_to_temp): Don't call fd_safer; no longer needed now
that we include stdlib--.h.
|
|
(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.
|
|
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.
|
|
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.
|
|
(wipename, wipe_file): Don't use fd_safer; no longer needed
now that we include fcntl--.h.
|
|
(open_file): Invoke fopen, not fopen_safer.
|
|
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.
|
|
(digest_check): Don't try to read both checksums and data from stdin.
|
|
(main): Use fopen, not fopen_safer.
|
|
(open_fd): Remove. All callers changed to use fd_reopen instead.
|
|
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.
|
|
(copy_reg): Don't call fd_safer; no longer needed
now that we include fcntl--.h.
|
|
(compare_files): Use fopen, not fopen_safer.
|
|
(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.
|
|
This saves a file descriptor.
|
|
|
|
|
|
unconditionally, and don't include <sys/file.h>).
|
|
|
|
corresponding option string and value arrays are consistent.
|
|
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
|
|
corresponding option string and value arrays are consistent.
Remove a harmless trailing `, 0' from a value list.
|
|
(VERIFY_EXPR): Undef before defining.
|
|
|
|
|
|
|
|
|
|
|
|
Use X2REALLOC, rather than x2realloc.
|
|
and __LINE__ so as not to require a struct name parameter.
(GL_CONCAT, GL_CONCAT2, GL_LINE_CONCAT): Define helper macros.
|
|
when computing the --author column width. This bug might have
resulted in misaligned columns when using the --author option
on the Hurd. Spotted by Arnold Robbins.
The bug was introduced on 2003-12-03.
|
|
|
|
|