summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtonum.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* It's not really possible to make strtonum() deal with unsigned longmillert2004-08-031-27/+10
| | | | | long values properly so don't bother trying. This greatly simplifies the code. tedu@ OK with input from otto@ and others.
* Do not forget to test the lower bound if the upper bound > LLONG_MAX.otto2004-07-161-1/+3
| | | | ok millert@
* Avoid comparing unsigned and signed long longs since the signedmillert2004-07-161-12/+18
| | | | | one will get implicitly cast to unsigned. Fixes a bug with negative minval noticed by mjc@. Similar to a diff from miod@. OK miod@.
* errno -> err in a structure. OK deraadt@marc2004-06-211-4/+4
|
* Be smarter about signed vs. unsigned (produces better error messages).millert2004-05-031-2/+2
| | | | OK otto@
* strtonum, a nicer version of strtoll, by millert and myself.tedu2004-05-031-0/+74
ok deraadt@ millert@