leitner
|
b9eb81c58f
|
move unit tests into each file (compile with -DUNITTEST)
|
8 years ago |
leitner
|
9af06ac843
|
remove can't happen code and instead force a compile time error
|
11 years ago |
leitner
|
baec005507
|
improved code path for typical platforms where there is a wider integer type
|
11 years ago |
leitner
|
08ba483bfb
|
catch other potential overflow
|
11 years ago |
leitner
|
d14d2536f0
|
get rid of -Wconversion warnings
|
11 years ago |
leitner
|
01ffc04006
|
do proper early abort in the other scan_* routines if the numeric value
is too large
|
11 years ago |
leitner
|
3004b518ef
|
switch to size_t and ssize_t
|
18 years ago |
leitner
|
85bfbeb420
|
only write dest if we actually parsed something
|
21 years ago |
leitner
|
36c6f04ed9
|
scan_uint and scan_ushort will now abort if the result does not fit in
uint or ushort as opposed to ulong.
|
22 years ago |
leitner
|
3083708670
|
Initial revision
|
24 years ago |