Age | Commit message (Collapse) | Author |
|
Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.
|
|
|
|
|
|
AC_HEADER_STDBOOL. No need to check for limits.h since it's in
freestanding C89. No need to check for stdlib.h or string.h since
autoconf does this now.
|
|
|
|
|
|
|
|
|
|
|
|
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
|
|
human.h, to print large numbers simply.
(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
(print_header): In the header line, prefer SI to human
representation if it's shorter; if neither is shorter, try to
intuit what the user would prefer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use primitives from inttostr.h, not
human.h, to print large numbers simply.
(human_output_opts): New var.
(output_block_size): Now uintmax_t, not int, to handle larger
block sizes. All uses changed.
(file_output_block_size): New var, to distinguish
file sizes from other sizes.
(decode_switches): Set it.
|
|
|
|
Change \xhhh to \xhh.
|
|
|
|
thousands-separators) and for explicit size suffixes on output.
(Block size): Say that:
This affects display format as well as block size.
Fractional block counts are rounded up.
ls file size blocksize defaults to 1.
A block size spec preceded by ' generates thousands separators.
A suffix without a preceding integer generates suffixes.
(tail invocation): 32k -> 32 KiB.
(What information is listed): ls -h is now equivalent to
ls --block-size=human, and ls -H is now equivalent to
ls --block-size=si. Displayed file size is now always affected by
--block-size.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
as part of the \x escape sequence.
|
|
at most two hex. digits, not three.
|
|
|
|
to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
(OUTPUT_BLOCK_SIZE): remove.
(dopass): When printing progress, use floor for what has been done
so far (since we should be conservative there), and ceiling for
what needs to be done (since that's what other programs use).
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
Use primitives from inttostr.h, not human.h, to print large numbers simply.
|
|
human.h, to print large numbers simply.
|
|
|
|
Remove now-useless cast.
(stdread): Remove function.
(bytes_split): Use size_t instead of int.
Use safe_read, not stdread.
(lines_split): Likewise.
Use memchr rather than a `while' loop.
(line_bytes_split): Use size_t instead of int.
Use safe_read, not stdread.
(main): Add some FIXME comments to remind me to remove casts.
|
|
|
|
notations like thousands separators.
Specify what includer of include.h must include beforehand.
(human_group_digits, human_suppress_point_zero, human_autoscale,
human_base_1024, human_SI, human_B): New enum values.
(human_readable): Rename from human_readable_inexact; put the
options before the sizes. All uses changed. The old human_readable
function has been removed; use inttostr.h instead.
(human_options): Renamed from human_block_size, with new signature
that allows block sizes up to UINTMAX_MAX. All callers changed.
|
|
|
|
|
|
(EXTRA_DIST): Add inttostr.c.
|
|
|