summaryrefslogtreecommitdiff
path: root/src/groups.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-06-22 02:12:32 +0100
committerPádraig Brady <P@draigBrady.com>2015-06-22 02:21:02 +0100
commitbc9d16b79f4e8c25e13be63f846cfd7152b65da1 (patch)
treef59de970119880a9a860a2ca258c4ad64677a0c3 /src/groups.c
parenta3c3e1e9e6d2d953692f1eb24efa9ac7c7448044 (diff)
downloadcoreutils-bc9d16b79f4e8c25e13be63f846cfd7152b65da1.tar.xz
numfmt: handle leading zeros correctly
* src/numfmt.c (simple_strtod_int): Don't count leading zeros as significant digits. Also have leading zeros as optional for floating point numbers. * tests/misc/numfmt.pl: Add test cases. * NEWS: Mention the fix.
Diffstat (limited to 'src/groups.c')
0 files changed, 0 insertions, 0 deletions