Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | awk: move all data to malloc space | Denis Vlasenko | 2007-06-06 | 1 | -156/+234 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta evaluate 6448 6728 +280 awk_getline 676 705 +29 parse_expr 726 752 +26 next_token 917 943 +26 next_input_file 237 252 +15 awk_split 498 510 +12 awk_sub 632 643 +11 split_f0 160 170 +10 getvar_s 98 108 +10 ... chain_loop 128 121 -7 nvalloc 179 171 -8 chain_node 107 99 -8 mainseq 12 - -12 endseq 12 - -12 chain_group 640 628 -12 beginseq 12 - -12 awk_exit 112 100 -12 fsrealloc 127 110 -17 static.v 20 - -20 static.rsm 24 - -24 ttt 28 - -28 parse_program 339 311 -28 static.sreg 32 - -32 intvar 76 - -76 static.tspl 84 - -84 rsplitter 84 - -84 fsplitter 84 - -84 ------------------------------------------------------------------------------ (add/remove: 0/39 grow/shrink: 16/11 up/down: 439/-685) Total: -246 bytes | |||||
* | Audit bb_common_bufsiz usage, add script which looks for misuse. | Denis Vlasenko | 2007-06-04 | 2 | -11/+12 | |
| | | | | | | tr: stop using globals needlessly. code: -103 bytes | |||||
* | vi: move some data to malloc'ed space: ~500 less bss, code | Denis Vlasenko | 2007-05-30 | 1 | -42/+68 | |
| | | | | size is smaller too (subject to arch differenced I guess) | |||||
* | whitespace fixes | Denis Vlasenko | 2007-05-30 | 1 | -1/+1 | |
| | ||||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 5 | -8/+6 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | awk: fix a trivial bug introduced by me. | Denis Vlasenko | 2007-05-18 | 1 | -1/+1 | |
| | | | | | | This is how it goes. I break stuff by doing useless 'cleanups', people fix the fallout. :(. Thanks rockeychu! | |||||
* | awk: make code a bit less obfuscated | Denis Vlasenko | 2007-05-17 | 1 | -240/+251 | |
| | ||||||
* | several *.c files: | Denis Vlasenko | 2007-05-17 | 1 | -2/+1 | |
| | | | | move 'extern environ' up to the location of #includes | |||||
* | vi: remove two globals | Denis Vlasenko | 2007-05-17 | 2 | -69/+79 | |
| | | | | | | | | | | | | | | | | | | | | | | | | awk: some 'lineno' vars were shorts, made them ints (code got smaller) awk: rename global t to global ttt. still an awful name, but at least you can grep for it now. function old new delta ttt - 28 +28 mysleep 104 120 +16 readit 408 418 +10 lineno 2 4 +2 parse_program 338 339 +1 evaluate 6446 6445 -1 syntax_error 25 23 -2 next_token 917 915 -2 new_node 26 24 -2 tv 16 8 -8 skip_spaces 68 53 -15 t 28 - -28 rfds 128 - -128 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 4/6 up/down: 57/-186) Total: -129 bytes | |||||
* | awk: don't segfault on printf(%*s). Close 1337. | Denis Vlasenko | 2007-05-09 | 1 | -1/+4 | |
| | ||||||
* | awk: guard against empty environment | Denis Vlasenko | 2007-05-03 | 1 | -1/+2 | |
| | ||||||
* | sed: fix escaped newlines in -f; fix multiple -f and -e | Denis Vlasenko | 2007-04-12 | 1 | -32/+18 | |
| | | | | (broke when getopt32 was fixed to not reverse the list) | |||||
* | style fixes. No code changes | Denis Vlasenko | 2007-04-12 | 3 | -3/+6 | |
| | ||||||
* | audit small applets and mark some of them as NOFORK. | Denis Vlasenko | 2007-04-10 | 1 | -0/+2 | |
| | | | | | Put big scary warnings in relevant places. | |||||
* | getopt32: fix llist_t options ordering. llist_rev is not unused. | Denis Vlasenko | 2007-04-08 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | function old new delta tar_main 705 695 -10 sort_main 928 918 -10 decode_format_string 886 876 -10 run_parts_main 197 185 -12 ps_main 513 500 -13 wget_main 2764 2750 -14 awk_main 1014 1000 -14 od_main 2886 2866 -20 llist_rev 25 - -25 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes | |||||
* | libbb: add xunlink() | Denis Vlasenko | 2007-04-05 | 1 | -6/+3 | |
| | | | | patch: do not try to delete same file twice | |||||
* | Copyright, help text, whitespace cleanups | Denis Vlasenko | 2007-04-01 | 1 | -1/+1 | |
| | ||||||
* | sed: a communal variable managed to slip past 'size' | Denis Vlasenko | 2007-03-26 | 1 | -93/+99 | |
| | | | | | | | | | | | | | ('size' happily displays 0 bytes in data and bss, but in reality sed.o used 180 bytes of it). Oh well. function old new delta pipe_putc 67 76 +9 sed_main 627 633 +6 get_next_line 161 166 +5 bbg 180 - -180 (add/remove: 0/1 grow/shrink: 3/0 up/down: 20/-180) Total: -160 bytes sed: also make sed -i failure message less cryptic | |||||
* | inetd,ed,msh: data/bss reduction (in mss, more than 9k of it) | Denis Vlasenko | 2007-03-24 | 1 | -3/+9 | |
| | ||||||
* | random style fixes (extra spaces deleted) | Denis Vlasenko | 2007-03-24 | 1 | -1/+1 | |
| | ||||||
* | assorted fixes uncovered by randomconfig runs | Denis Vlasenko | 2007-03-22 | 1 | -1/+11 | |
| | ||||||
* | vi: fix signed char-induced potential bugs | Denis Vlasenko | 2007-03-21 | 1 | -30/+32 | |
| | ||||||
* | vi: remove Byte typedef and massive amount of casts. | Denis Vlasenko | 2007-03-21 | 1 | -424/+445 | |
| | | | | | also optimize many strlen() calls. if (strlen(buf) <= 0) goto vc1 - ??!! | |||||
* | vi: support $EXINIT and -c | Denis Vlasenko | 2007-03-21 | 1 | -14/+53 | |
| | ||||||
* | sed: fix very obscure case of escaped newline in sed command | Denis Vlasenko | 2007-03-16 | 1 | -12/+29 | |
| | | | | (needed for uclibc build, btw). Add testcase for it. | |||||
* | kill superfluous returns at the end of void functions | Denis Vlasenko | 2007-03-11 | 1 | -8/+1 | |
| | ||||||
* | awk: support multiple -v options | Denis Vlasenko | 2007-03-10 | 1 | -3/+8 | |
| | ||||||
* | clean up accumulated whitespace damage | Denis Vlasenko | 2007-03-07 | 2 | -2/+2 | |
| | ||||||
* | awk: fix memory leak (can affect large file processing) | Denis Vlasenko | 2007-02-24 | 1 | -18/+18 | |
| | ||||||
* | suppress warnings about easch <applet>_main() having | Denis Vlasenko | 2007-02-03 | 5 | -0/+5 | |
| | | | | no preceding prototype | |||||
* | silly space saving in sed | Denis Vlasenko | 2007-01-30 | 1 | -6/+6 | |
| | ||||||
* | micro optimization | Denis Vlasenko | 2007-01-30 | 1 | -1/+1 | |
| | ||||||
* | preparatory patch for -Wwrite-strings #7: sed | Denis Vlasenko | 2007-01-29 | 1 | -13/+16 | |
| | | | | remaining: shell (rather scary mess in msh.c) | |||||
* | preparatory patch for -Wwrite-strings #2 | Denis Vlasenko | 2007-01-29 | 1 | -10/+10 | |
| | ||||||
* | preparatory patch for -Wwrite-strings #1 | Denis Vlasenko | 2007-01-29 | 2 | -21/+28 | |
| | ||||||
* | add to testsuite and fix yet another sed corner case | Denis Vlasenko | 2007-01-29 | 1 | -6/+24 | |
| | ||||||
* | disable -Wold-style-definition for gcc 3.x | Denis Vlasenko | 2007-01-29 | 1 | -6/+9 | |
| | ||||||
* | sed: fix 2 bugs (one testsuite entry + one newly found) | Denis Vlasenko | 2007-01-29 | 1 | -59/+59 | |
| | | | | but more importantly make code more understandable | |||||
* | fix all known regressions with sed and also make it simpler | Denis Vlasenko | 2007-01-28 | 1 | -28/+42 | |
| | ||||||
* | strdup -> xstrdup | Denis Vlasenko | 2007-01-19 | 1 | -3/+4 | |
| | | | | sed: de-obfuscate piece of code | |||||
* | sed,get_line_from_file: improve comments | Denis Vlasenko | 2007-01-17 | 1 | -17/+27 | |
| | ||||||
* | whitespace fixes (leading spaces to tab) | Denis Vlasenko | 2007-01-13 | 1 | -1/+1 | |
| | ||||||
* | Trailing whitespace removal over entire tree | Denis Vlasenko | 2007-01-11 | 1 | -2/+2 | |
| | ||||||
* | awk: style fixes | Denis Vlasenko | 2007-01-01 | 1 | -27/+23 | |
| | ||||||
* | awk: undo locale setting for numbers - or else parsing | Denis Vlasenko | 2007-01-01 | 1 | -0/+5 | |
| | | | | | can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT) | |||||
* | awk: style cleanup. A lot of rw data moved to ro | Denis Vlasenko | 2007-01-01 | 1 | -294/+293 | |
| | | | | | (still has quite a lot of statics etc...). getopt32-ification. | |||||
* | next bunch of fixes for bugs found by randconfig | Denis Vlasenko | 2006-12-30 | 1 | -202/+205 | |
| | ||||||
* | merge post-1.3.0 fixes | Denis Vlasenko | 2006-12-26 | 1 | -1/+2 | |
| | ||||||
* | style fixes | Denis Vlasenko | 2006-12-26 | 2 | -13/+12 | |
| | | | | last xcalloc replaced by xzalloc | |||||
* | remove useless casts (type*) xzalloc(...) | Denis Vlasenko | 2006-12-22 | 1 | -7/+6 | |
| |