summaryrefslogtreecommitdiff
path: root/libbb/bb_strtonum.c
Commit message (Collapse)AuthorAgeFilesLines
* printf: fix printf "%u\n" +18446744073709551614Denys Vlasenko2018-10-301-1/+1
| | | | | | | | | | | function old new delta conv_strtoll 19 32 +13 conv_strtoull 49 61 +12 bb_strtoll 89 84 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 25/-5) Total: 20 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: fix printing +-prefixed numbersBernhard Reutner-Fischer2018-10-191-1/+1
| | | | | | | | | | | | | | Thanks to Cristian Ionescu-Idbohrn for noticing. Also fix "%d" ' 42' to skip leading whitespace. function old new delta print_direc 435 454 +19 bb_strtoll 99 103 +4 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 23/0) Total: 23 bytes Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* whitespace and comment format fixes, no code changesDenys Vlasenko2017-10-051-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb/bb_strtonum: always set end ptr, even on error returnDenys Vlasenko2011-12-221-19/+40
| | | | | | | function old new delta handle_errors 69 61 -8 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* s/othervise/otherwise/gDenis Vlasenko2008-07-231-1/+1
|
* libbb: fix bb_strtol[l]'s check for "-". Hopefully closes bug 4174Denis Vlasenko2008-07-181-8/+22
| | | | | | | | | function old new delta bb_strtol 82 85 +3 handle_errors 75 66 -9 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 3/-9) Total: -6 bytes
* bb_strtoXXX: close bug 4174 (potential use of buf[-1])Denis Vlasenko2008-07-171-6/+5
|
* sleep: if FANCY && DESKTOP, support fractional seconds, minutes,Denis Vlasenko2008-07-121-30/+0
| | | | | | | | | | | | | | | | | hours and so on. It's coreutils compat. bloatcheck is atrocious :( function old new delta sleep_main 71 362 +291 bb_strtod - 127 +127 make_device 1269 1294 +25 getoptscmd 708 713 +5 switch_root_main 402 401 -1 display_speed 90 85 -5 show_entry 295 289 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/4 up/down: 448/-20) Total: 428 bytes
* *: introduce and use FAST_FUNC: regparm on i386, otherwise no-onDenis Vlasenko2008-06-271-7/+7
| | | | | | | text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
* merge post-1.3.0 fixesDenis Vlasenko2006-12-261-0/+1
|
* fix bug in new str -> num convertorsDenis Vlasenko2006-11-281-4/+12
|
* svn add bb_strtonum.c :(Denis Vlasenko2006-11-271-0/+147