]> git.ipfire.org Git - thirdparty/coreutils.git/commit
(print_header): Use primitives from inttostr.h, not
authorJim Meyering <jim@meyering.net>
Fri, 8 Nov 2002 09:39:36 +0000 (09:39 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 8 Nov 2002 09:39:36 +0000 (09:39 +0000)
commit95b50fa1ac036a3e85226b508de5505b3a873fbb
treebd7840947f5b231e9f39dd22367d81b50fa7ab87
parent98f748e64c5e1cb16b27cb859a137055b78cd2f5
(print_header): 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.

(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.
src/df.c