Age | Commit message (Collapse) | Author |
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.
(problems): Now a boolean int, not a counter,
so that we don't have to worry about int overflow. All uses changed.
|
|
(main): Exit with status 1, not 2, on errors detected
by hostname proper.
|
|
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(main): Do not report a usage error simply
because stdin has bad numbers.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(main): Use initialize_exit_failure rather than
setting exit_failure directly; this optimizes away redundant assignments.
(EXPR_FAILURE): Renamed from EXPR_ERROR, for
consistency with the other programs' naming conventions.
All uses changed.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(main): Initialize exit_failure to EXIT_FAIL.
(main): Use initialize_exit_failure rather than
setting exit_failure directly; this optimizes away redundant
assignments.
(main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
rather than roll-your-own symbols or integers.
(main): Exit with status 1, not 2, on errors detected by env proper.
|
|
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.
|
|
(dd_copy): Exit with status EXIT_FAILURE, not 2, on errors.
(write_output, skip, dd_copy): Don't assume EXIT_FAILURE == 1,
as POSIX doesn't require it.
|
|
(FATAL_ERROR, main): Exit with status EXIT_FAILURE, not 2, on errors.
(main): Don't assume EXIT_FAILURE == 1, as POSIX doesn't require it.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
(FATAL_ERROR, main): Exit with status EXIT_FAILURE, not 2, on errors.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(exit_status): Remove static var....
(main): Making it local here instead. Use =, not |=, to set it.
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
(CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE): Remove.
(main): Initialize exit_failure to EXIT_FAIL.
(main): Exit with status 1 rather than 127
if chroot itself fails, as per documentation.
(main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
rather than roll-your-own symbols or integers.
|
|
(main): Removed unused local 'fail'.
|
|
|
|
|
|
(usage): Don't bother normalizing exit status
since the arg is already the correct exit status now.
|
|
|
|
|
|
|
|
|
|
(get_reldate): New function.
(main): Use it, to implement this new behavior.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
global variables.
(collapse_escapes): Rewrite to set globals rather than modifying
its parameter.
Use size_t (not int) for all counters and related index variables.
(paste_parallel): Remove needless complexity of
using xrealloc in the loop; just allocate the buffers up front.
Free the two temporary buffers.
Move declarations of locals `down' into scope where used.
(paste_serial): Remove `register' attributes.
(main): Simplify delim-related code.
Free `delims', now that it's malloc'd.
|
|
|
|
(fillbuf): Use x2nrealloc rather than xrealloc.
(sort): Use xnmalloc rather than xmalloc.
(main): Likewise.
|
|
(add_tabstop): Use x2nrealloc rather than xrealloc.
|
|
(add_tabstop): Use x2nrealloc rather than xrealloc.
|
|
|
|
|
|
(make_path_private): Likewise.
|
|
|
|
|
|
Fail when following by name but no names are specified.
|