Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | delete tons of extra #includes | Denis Vlasenko | 2007-05-31 | 59 | -176/+68 | |
| | ||||||
* | use "glibc errno" trick not only for ash, but for entire busybox | Denis Vlasenko | 2007-05-31 | 16 | -83/+23 | |
| | | | | | (add/remove: 1/1 grow/shrink: 37/37 up/down: 139/-228) Total: -89 bytes | |||||
* | more: stop using bss | Denis Vlasenko | 2007-05-31 | 2 | -13/+29 | |
| | | | | | | | | | | | | | | # make && make bloatcheck function old new delta gotsig 86 107 +21 more_main 777 781 +4 cin_fileno 4 - -4 set_tty_to_initial_mode 25 - -25 new_settings 120 60 -60 initial_settings 120 60 -60 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 2/2 up/down: 25/-149) Total: -124 bytes | |||||
* | less: fix very obscure memory corruption bug | Denis Vlasenko | 2007-05-31 | 1 | -7/+38 | |
| | ||||||
* | less: stop using data/bss. Code got smaller too. | Denis Vlasenko | 2007-05-31 | 1 | -47/+82 | |
| | | | | | | | | | | | | # size busybox_old busybox_unstripped text data bss dec hex filename 700719 2896 17880 721495 b0257 busybox_old 700547 2832 17432 720811 affab busybox_unstripped # size */*/less.o text data bss dec hex filename 6861 50 344 7255 1c57 busybox.t0/miscutils/less.o 6657 0 0 6657 1a01 busybox.t1/miscutils/less.o | |||||
* | nmeter: stop using data/bss; reduce amount of reads from /proc | Denis Vlasenko | 2007-05-30 | 1 | -48/+89 | |
| | | | | | | | # size */*/nmeter.o text data bss dec hex filename 4366 80 16 4462 116e busybox.t0/miscutils/nmeter.o 4386 0 0 4386 1122 busybox.t2/miscutils/nmeter.o | |||||
* | 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) | |||||
* | hush: trivial buglet found by randomconfig testing | Denis Vlasenko | 2007-05-30 | 1 | -0/+2 | |
| | ||||||
* | whitespace fixes | Denis Vlasenko | 2007-05-30 | 29 | -82/+82 | |
| | ||||||
* | verror_msg: don't printf(NULL) | Denis Vlasenko | 2007-05-29 | 1 | -3/+8 | |
| | ||||||
* | test: close bug 1371 | Denis Vlasenko | 2007-05-27 | 1 | -5/+10 | |
| | | | | | test: plug a memory leak | |||||
* | ping: fix wrong sign extension of packet id (bug 1373) | Denis Vlasenko | 2007-05-27 | 1 | -2/+2 | |
| | ||||||
* | usage.c: remove reference to busybox.h | Denis Vlasenko | 2007-05-26 | 251 | -269/+270 | |
| | | | | | *: s/include "busybox.h"/include "libbb.h" | |||||
* | xpipe: introduce (saves ~170 bytes) | Denis Vlasenko | 2007-05-26 | 9 | -36/+35 | |
| | | | | | udhcp/signalpipe.c: use pipe instead of socketpair. | |||||
* | - fix typo in help text and fix punctuation | Bernhard Reutner-Fischer | 2007-05-26 | 1 | -4/+4 | |
| | ||||||
* | hush: fix 'echo abc`sleep 5`def' + Ctrl-Z and Ctrl-C bugs. +50 bytes of code. | Denis Vlasenko | 2007-05-25 | 1 | -6/+18 | |
| | ||||||
* | hush: avoid duplicating HUSH_VERSION | Denis Vlasenko | 2007-05-25 | 1 | -15/+16 | |
| | ||||||
* | hush: micro-optimization in new variable code | Denis Vlasenko | 2007-05-25 | 1 | -5/+5 | |
| | ||||||
* | hush: we can't do without variable->value member, saving 25 bytes of code | Denis Vlasenko | 2007-05-25 | 1 | -42/+38 | |
| | | | | and some runtime memory. Rename few variables. | |||||
* | hush: rework variable storage and environment handling. | Denis Vlasenko | 2007-05-25 | 4 | -167/+238 | |
| | | | | | | More that -100 bytes of code + memory leak plugged. Added a testcase for it. | |||||
* | hush: update README with yet another failure case | Denis Vlasenko | 2007-05-24 | 1 | -0/+5 | |
| | ||||||
* | hush: fix segfaulting syntax error in interactive hush | Denis Vlasenko | 2007-05-24 | 1 | -23/+29 | |
| | ||||||
* | hush: improve 2 testsuite tests | Denis Vlasenko | 2007-05-24 | 4 | -2/+17 | |
| | ||||||
* | hush: add 2 tests for correct syntax error reporting | Denis Vlasenko | 2007-05-24 | 2 | -0/+2 | |
| | ||||||
* | udhcp: socketpair can fail if AF_UNIX is not available (e.g. if module is ↵ | Denis Vlasenko | 2007-05-24 | 1 | -1/+3 | |
| | | | | | | not loaded). Error out on that. | |||||
* | hush: fix handling of unmatched ${name (without closing '}') - | Denis Vlasenko | 2007-05-24 | 4 | -9/+15 | |
| | | | | | | | was eating all remaining input, potentially megabytes. nofork: save/restore die_jmp too nofork: use -2222 instead of -111 as "special" return valur for zero (-111 is used by some applets. -2222 won't fit in exitcode and thus safer) | |||||
* | hush: make syntax error messages a bit more useful | Denis Vlasenko | 2007-05-23 | 3 | -29/+37 | |
| | ||||||
* | hush: prepare testsuite for new, fixed error message format | Denis Vlasenko | 2007-05-23 | 1 | -1/+1 | |
| | ||||||
* | hush: fix job control with eval /bin/external_prog | Denis Vlasenko | 2007-05-23 | 3 | -92/+96 | |
| | | | | | | hush: fix parsing of unterminated "str with no EOL hush: improved make_string() (smaller, faster, needs less RAM) hush: renamed several functions | |||||
* | hush: fix a bit different instance of "No EOL" bug, | Denis Vlasenko | 2007-05-23 | 5 | -40/+57 | |
| | | | | add testsuite for that. Expand another testsuite. | |||||
* | fix execute bit on hush-misc/shift.tests | Denis Vlasenko | 2007-05-23 | 1 | -0/+0 | |
| | ||||||
* | hdparm: make -T -t code smaller (-194 bytes), and output prettier | Denis Vlasenko | 2007-05-22 | 1 | -97/+75 | |
| | ||||||
* | hush: add 3 CONFIG_xxx, allowing for smaller and less capable hush. | Denis Vlasenko | 2007-05-21 | 2 | -38/+109 | |
| | | | | Minimal hush is ~9k now (lash is ~7k). | |||||
* | shells: update README and testsuite. environment memory leak | Denis Vlasenko | 2007-05-21 | 3 | -1/+17 | |
| | | | | needs to be fixed - and documented! | |||||
* | hush: using smallints where we can. save ~20 bytes in code and | Denis Vlasenko | 2007-05-21 | 1 | -47/+50 | |
| | | | | some data storage at runtime. | |||||
* | hush: fix shift + $0 bug; add testcase | Denis Vlasenko | 2007-05-20 | 3 | -1/+9 | |
| | ||||||
* | hush: trivial size optimization | Denis Vlasenko | 2007-05-20 | 1 | -5/+6 | |
| | ||||||
* | hush: make process substitution configurable; add a testcase | Denis Vlasenko | 2007-05-20 | 4 | -1/+22 | |
| | ||||||
* | busybox.net: announce 1.5.1 on the web site. | Denis Vlasenko | 2007-05-20 | 1 | -0/+9 | |
| | ||||||
* | ash: implement type -p, costs less than 10 bytes | Denis Vlasenko | 2007-05-20 | 1 | -16/+11 | |
| | | | | (patch by Mats Erik Andersson <mats.andersson64@comhem.se>) | |||||
* | mount: fix mounting of symlinks (mount from util-linux allows that) | Denis Vlasenko | 2007-05-20 | 1 | -1/+3 | |
| | ||||||
* | cttyhack: new applet. | Denis Vlasenko | 2007-05-18 | 5 | -2/+96 | |
| | ||||||
* | make "static linking against glibc" an #error, not #warning | Denis Vlasenko | 2007-05-18 | 1 | -0/+1 | |
| | ||||||
* | 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! | |||||
* | we were basically ignoring CONFIG_USE_BB_PWD_GRP (assuming =y), | Denis Vlasenko | 2007-05-18 | 1 | -1/+3 | |
| | | | | fix this | |||||
* | awk: make code a bit less obfuscated | Denis Vlasenko | 2007-05-17 | 1 | -240/+251 | |
| | ||||||
* | several *.c files: | Denis Vlasenko | 2007-05-17 | 5 | -7/+7 | |
| | | | | 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 | |||||
* | hush: do "struct globals" trick. hush.o data+bss = 0 bytes now. | Denis Vlasenko | 2007-05-17 | 1 | -105/+134 | |
| | | | | +60 bytes to image, but -8000 bytes in bss. | |||||
* | hush: consolidated variable expansion for assignments and "normal" one. | Denis Vlasenko | 2007-05-17 | 1 | -87/+39 | |
| | | | | -435 bytes. Tested against testsuite. |