Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | printf: fix this case: printf "%b" '\0057usr\0057bin\n' | Denys Vlasenko | 2012-03-07 | 1 | -2/+17 |
| | | | | | | | | | It was not accepting \0NNN. Standard printf tool does. function old new delta printf_main 869 886 +17 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | printf: trim help text | Denys Vlasenko | 2012-03-07 | 1 | -4/+3 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | move help text from include/usage.src.h to coreutils/*.c | Pere Orga | 2011-03-31 | 1 | -0/+10 |
| | | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | libbb: introduce and use strcpy_and_process_escape_sequences | Denys Vlasenko | 2010-10-23 | 1 | -10/+8 |
| | | | | | | | | | | | | function old new delta strcpy_and_process_escape_sequences - 50 +50 bb_process_escape_sequence 148 138 -10 printf_main 789 776 -13 getty_main 1897 1831 -66 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 50/-89) Total: -39 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | nandwrite: complain on malformed -s NUM | Denys Vlasenko | 2010-08-29 | 1 | -2/+2 |
| | | | | | | Elsewhere: use common error message. -30 bytes net size change Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | *: make GNU licensing statement forms more regular | Denys Vlasenko | 2010-08-16 | 1 | -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> | ||||
* | printf: (allegedly) fix testsuite failure | Denys Vlasenko | 2009-06-27 | 1 | -0/+2 |
| | | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | printf: fix exit code on conversion error | Denys Vlasenko | 2009-06-18 | 1 | -13/+11 |
| | | | | | Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | printf: accept negative numbers for %x; sh: overflowed numbers are 0 | Denys Vlasenko | 2009-06-05 | 1 | -0/+8 |
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | ||||
* | printf: fix 1.12.0 breakage (from %*d fix). It was misinterpreting "*" | Denis Vlasenko | 2009-03-03 | 1 | -3/+3 |
| | |||||
* | printf: make integer format strings print long long-sized values. | Denis Vlasenko | 2009-01-04 | 1 | -53/+65 |
| | | | | | | | | | | | | | | function old new delta printf_main 668 834 +166 bb_strtoll - 84 +84 print_direc 391 431 +40 conv_strtoull - 19 +19 conv_strtoll - 19 +19 conv_strtoul 16 - -16 conv_strtol 16 - -16 ------------------------------------------------------------------------------ (add/remove: 4/2 grow/shrink: 2/0 up/down: 342/-32) Total: 296 bytes | ||||
* | ash: printf builtin with no arguments should not exit | Denis Vlasenko | 2008-12-10 | 1 | -1/+8 |
| | |||||
* | ash: dont allow e.g. exec <&10 to attach to stript's fd! | Denis Vlasenko | 2008-07-25 | 1 | -2/+5 |
| | | | | | | | | | | | | | function old new delta is_hidden_fd - 61 +61 redirect 1135 1164 +29 popstring 134 140 +6 printf_main 635 637 +2 evalvar 1374 1376 +2 echo_main 294 296 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/0 up/down: 102/0) Total: 102 bytes | ||||
* | fix all cases of strcpy on overlapping strings. | Denis Vlasenko | 2008-07-22 | 1 | -1/+1 |
| | |||||
* | printf: do not print garbage on "%Ld". closes bug 4214. | Denis Vlasenko | 2008-07-18 | 1 | -6/+15 |
| | | | | | | | | | | function old new delta printf_main 633 637 +4 multiconvert 99 79 -20 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-20) Total: -16 bytes | ||||
* | printf: fix %b, fix several bugs in %*.*, fix compat issues with | Denis Vlasenko | 2008-07-18 | 1 | -78/+121 |
| | | | | | | | | | | | | | | | | | | | aborting too early, support %zd; expand testsuite function old new delta get_width_prec - 46 +46 multiconvert 82 99 +17 conv_strtod 44 54 +10 print_direc 382 391 +9 printf_main 629 633 +4 conv_strtoul 20 16 -4 conv_strtol 20 16 -4 my_xstrtoul 20 - -20 my_xstrtol 20 - -20 my_xstrtod 21 - -21 ------------------------------------------------------------------------------ (add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69) Total: 17 bytes | ||||
* | printf: protect against bogus format specifiers. Hopefully closes bug 4184 | Denis Vlasenko | 2008-07-17 | 1 | -9/+13 |
| | |||||
* | *: rename ATTRIBUTE_XXX to just XXX. | Denis Vlasenko | 2008-07-05 | 1 | -1/+1 |
| | |||||
* | ash: optional printf builtin. +25 bytes if off, +35 if on. | Denis Vlasenko | 2008-06-01 | 1 | -3/+15 |
| | | | | | by Cristian Ionescu-Idbohrn. | ||||
* | printf: fix a trivial bug | Denis Vlasenko | 2008-05-31 | 1 | -1/+1 |
| | |||||
* | printf: code shrink by eliminating string alloc/copy | Denis Vlasenko | 2008-05-31 | 1 | -28/+27 |
| | | | | | | function old new delta print_direc 428 382 -46 | ||||
* | - use EXIT_{SUCCESS,FAILURE}. No object-code changes | Bernhard Reutner-Fischer | 2008-05-19 | 1 | -1/+1 |
| | |||||
* | printf: fix printf -%s- foo, printf -- -%s- foo (bug 3354) | Denis Vlasenko | 2008-05-18 | 1 | -28/+24 |
| | | | | | | function old new delta printf_main 577 548 -29 | ||||
* | add -fvisibility=hidden to CC flags, mark XXX_main functions | Denis Vlasenko | 2007-10-11 | 1 | -1/+1 |
| | | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so | ||||
* | introduce bb_putchar(). saves ~1800 on uclibc (less on glibc). | Denis Vlasenko | 2007-09-27 | 1 | -5/+5 |
| | |||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 1 | -1/+1 |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | ||||
* | printf: allow hex/oct numbers; move functions around | Denis Vlasenko | 2007-03-09 | 1 | -113/+104 |
| | | | | so that we have no forward declarations | ||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 1 | -0/+1 |
| | | | | no preceding prototype | ||||
* | preparatory patch for -Wwrite-strings #1 | Denis Vlasenko | 2007-01-29 | 1 | -10/+10 |
| | |||||
* | safe_strtoXX interface proved to be a bit unconvenient. | Denis Vlasenko | 2006-11-27 | 1 | -7/+24 |
| | | | | | Remove it, introduce saner bb_strtoXX. Saved ~350 bytes. | ||||
* | attempt to regularize atoi mess. | Denis Vlasenko | 2006-10-08 | 1 | -20/+20 |
| | |||||
* | remove unneeded #includes, fix indentation | Denis Vlasenko | 2006-09-23 | 1 | -23/+15 |
| | |||||
* | - make append_option and multiconvert static. | Bernhard Reutner-Fischer | 2006-04-03 | 1 | -1/+1 |
| | |||||
* | more busybox's style: close bug 745 | "Vladimir N. Oleynik" | 2006-02-28 | 1 | -3/+3 |
| | |||||
* | just whitespace | Tim Riker | 2006-01-25 | 1 | -2/+2 |
| | |||||
* | Bug 624 wants quoted char support for printf, so you can do something like: | Rob Landley | 2006-01-06 | 1 | -54/+50 |
| | | | | | | printf '%d\n' '"x"' and have it print out 120. This is the smallest implementation I can think of at the moment. | ||||
* | Patch by Felipe Kellermann, use the common escape handling function and ↵ | Glenn L McGrath | 2004-09-15 | 1 | -133/+21 |
| | | | | remove some unused code. | ||||
* | Remove trailing whitespace. Update copyright to include 2004. | Eric Andersen | 2004-03-15 | 1 | -2/+2 |
| | |||||
* | Fix/eliminate use of atol | Eric Andersen | 2004-03-06 | 1 | -27/+3 |
| | |||||
* | Fix a stupid bug I introduced several months ago | Eric Andersen | 2003-08-08 | 1 | -2/+2 |
| | |||||
* | cleanup a bit to remove needless verify() function | Eric Andersen | 2003-05-26 | 1 | -39/+36 |
| | |||||
* | Major coreutils update. | Manuel Novoa III | 2003-03-19 | 1 | -1/+1 |
| | |||||
* | locale correction patch from Vladimir | Eric Andersen | 2001-03-19 | 1 | -20/+1 |
| | |||||
* | It turns out that DODMALLOC was broken when I reorganized busybox.h | Eric Andersen | 2001-02-20 | 1 | -1/+1 |
| | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik | ||||
* | This patch, put together by Manuel Novoa III, is a merge of work | Eric Andersen | 2001-02-14 | 1 | -1/+1 |
| | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. | ||||
* | #define -> static const int. Also got rid of some big static buffers. | Mark Whitley | 2001-01-23 | 1 | -1/+1 |
| | |||||
* | Renamed "internal.h" to the more sensible "busybox.h". | Eric Andersen | 2000-09-25 | 1 | -1/+1 |
| | | | | -Erik | ||||
* | Some #include updates. | Eric Andersen | 2000-08-10 | 1 | -1/+0 |
| | | | | -Erik | ||||
* | Extract usage information into a separate file. | Matt Kraai | 2000-07-16 | 1 | -7/+0 |
| | |||||
* | printf now compiles cleanly under both libc5 and libc6. | Eric Andersen | 2000-06-19 | 1 | -2/+1 |
| | | | | -Erik |