]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Rewrite to support locale-specific
authorJim Meyering <jim@meyering.net>
Sat, 19 Oct 2002 13:48:04 +0000 (13:48 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 19 Oct 2002 13:48:04 +0000 (13:48 +0000)
commitdce67bd2619d8df59a622ae6c1570e68d46b2930
tree729922b17b35167eecec8d43f13d2d61892d7abc
parent4774c63a5eaef8ce08726a2c06db0b8e2aff84fe
Rewrite to support locale-specific
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.
lib/human.c
lib/human.h