summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2013-02-12 15:28:22 -0500
committerPádraig Brady <P@draigBrady.com>2013-02-13 22:20:10 +0000
commitfff11aca4faaee33a032cb11d7453c6e938b71b7 (patch)
treeec656749dd7ba19050088e15687f61b4c6e22b05 /src/system.h
parent54cdb0e88bea464f0fda8649885bf21dcf56df4e (diff)
downloadcoreutils-fff11aca4faaee33a032cb11d7453c6e938b71b7.tar.xz
numfmt: fix strtol() return code handling
src/numfmt.c (parse_format_string): On some systems, strtol() returns EINVAL if no conversion was performed. So only handle ERANGE here, and handle other format errors directly.
Diffstat (limited to 'src/system.h')
0 files changed, 0 insertions, 0 deletions