diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 18:17:42 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-26 18:17:42 +0000 |
commit | 666da5e2c6edec979966d16771818b32dcfafe04 (patch) | |
tree | c23e6a01fc51d8419c1562f70836148c705ac46a /libbb/bb_strtonum.c | |
parent | 270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (diff) | |
download | busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.tar.gz busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.tar.bz2 busybox-w32-666da5e2c6edec979966d16771818b32dcfafe04.zip |
merge post-1.3.0 fixes
Diffstat (limited to 'libbb/bb_strtonum.c')
-rw-r--r-- | libbb/bb_strtonum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/bb_strtonum.c b/libbb/bb_strtonum.c index 6fbd1f87d..50ef0ba26 100644 --- a/libbb/bb_strtonum.c +++ b/libbb/bb_strtonum.c | |||
@@ -17,6 +17,7 @@ | |||
17 | * errno = ERANGE if value had alphanumeric terminating char ("1234abcg"). | 17 | * errno = ERANGE if value had alphanumeric terminating char ("1234abcg"). |
18 | * errno = ERANGE if value is out of range, missing, etc. | 18 | * errno = ERANGE if value is out of range, missing, etc. |
19 | * errno = ERANGE if value had minus sign for strtouXX (even "-0" is not ok ) | 19 | * errno = ERANGE if value had minus sign for strtouXX (even "-0" is not ok ) |
20 | * return value is all-ones in this case. | ||
20 | */ | 21 | */ |
21 | 22 | ||
22 | static unsigned long long ret_ERANGE(void) | 23 | static unsigned long long ret_ERANGE(void) |