summaryrefslogtreecommitdiff
path: root/libbb/bb_strtonum.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-12-26 18:17:42 +0000
committerDenis Vlasenko2006-12-26 18:17:42 +0000
commit666da5e2c6edec979966d16771818b32dcfafe04 (patch)
treec23e6a01fc51d8419c1562f70836148c705ac46a /libbb/bb_strtonum.c
parent270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (diff)
downloadbusybox-666da5e2c6edec979966d16771818b32dcfafe04.zip
busybox-666da5e2c6edec979966d16771818b32dcfafe04.tar.gz
merge post-1.3.0 fixes
Diffstat (limited to 'libbb/bb_strtonum.c')
-rw-r--r--libbb/bb_strtonum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/bb_strtonum.c b/libbb/bb_strtonum.c
index 6fbd1f8..50ef0ba 100644
--- a/libbb/bb_strtonum.c
+++ b/libbb/bb_strtonum.c
@@ -17,6 +17,7 @@
* errno = ERANGE if value had alphanumeric terminating char ("1234abcg").
* errno = ERANGE if value is out of range, missing, etc.
* errno = ERANGE if value had minus sign for strtouXX (even "-0" is not ok )
+ * return value is all-ones in this case.
*/
static unsigned long long ret_ERANGE(void)