Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | snprintf(... "%s"...) => safe_strncpy | Denis Vlasenko | 2007-06-04 | 1 | -3/+6 | |
| | ||||||
* | syslogd: move some vectors from data to text. Needs uclibc patch | Denis Vlasenko | 2007-06-04 | 1 | -4/+4 | |
| | | | | | | | | | | to have any effect (patch is submitted to uclibc ml). # size *[67]/*/syslog*.o text data bss dec hex filename 3169 288 0 3457 d81 busybox.t6/sysklogd/syslogd.o 3457 0 0 3457 d81 busybox.t7/sysklogd/syslogd.o | |||||
* | diff: stop using data/bss | Denis Vlasenko | 2007-06-04 | 2 | -50/+79 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta do_diff 385 436 +51 diff_main 850 895 +45 dump_unified_vec 437 457 +20 prepare 335 334 -1 anychange 1 - -1 suff 4 - -4 status 135 131 -4 static.max_context 4 - -4 start 12 8 -4 pref 4 - -4 member 4 - -4 label2 4 - -4 label1 4 - -4 klist 4 - -4 ixold 4 - -4 ixnew 4 - -4 dl_count 4 - -4 dl 4 - -4 context_vec_start 4 - -4 context_vec_ptr 4 - -4 context_vec_end 4 - -4 context 4 - -4 clistlen 4 - -4 clist 4 - -4 clen 4 - -4 class 4 - -4 J 4 - -4 add_to_dirlist 71 64 -7 slen 8 - -8 sfile 8 - -8 len 8 - -8 file 8 - -8 get_dir 196 185 -11 newcand 97 85 -12 change 351 331 -20 stb2 96 - -96 stb1 96 - -96 diffreg 2835 2717 -118 ------------------------------------------------------------------------------ (add/remove: 0/27 grow/shrink: 3/8 up/down: 116/-482) Total: -366 bytes # size */*/diff.o text data bss dec hex filename 7055 8 305 7368 1cc8 busybox.t2/coreutils/diff.o 7002 0 0 7002 1b5a busybox.t3/coreutils/diff.o | |||||
* | ping: stop using data/bss | Denis Vlasenko | 2007-06-04 | 1 | -18/+44 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta ping_main 375 392 +17 unpack_tail 317 320 +3 ping4 525 528 +3 ping6 772 773 +1 sendping6 99 98 -1 sendping4 184 183 -1 myid 2 - -2 sendping_tail 154 151 -3 tsum 4 - -4 tmin 4 - -4 tmax 4 - -4 source_lsa 4 - -4 pingsock 4 - -4 pingcount 4 - -4 ntransmitted 4 - -4 nrepeats 4 - -4 nreceived 4 - -4 if_index 4 - -4 hostname 8 4 -4 dotted 4 - -4 datalen 4 - -4 pingaddr 28 - -28 rcvd_tbl 128 - -128 ------------------------------------------------------------------------------ (add/remove: 0/15 grow/shrink: 4/4 up/down: 24/-215) Total: -191 bytes text data bss dec hex filename 679835 2728 16736 699299 aaba3 busybox_old 679851 2720 16536 699107 aaae3 busybox_unstripped | |||||
* | Audit bb_common_bufsiz usage, add script which looks for misuse. | Denis Vlasenko | 2007-06-04 | 21 | -134/+140 | |
| | | | | | | tr: stop using globals needlessly. code: -103 bytes | |||||
* | find_stray_communal_vars: script which finds communal variables | Denis Vlasenko | 2007-06-03 | 4 | -18/+25 | |
| | | | | | resize: remove globals var mdev: remove globals var | |||||
* | start 1.7.x version | Denis Vlasenko | 2007-06-02 | 1 | -2/+2 | |
| | ||||||
* | fdisk: make it work with big disks (read: typical today's disks) | Denis Vlasenko | 2007-06-02 | 1 | -83/+58 | |
| | | | | even if CONFIG_LFS is unset. | |||||
* | website: announce 1.6.0 | Denis Vlasenko | 2007-06-01 | 2 | -13/+125 | |
| | ||||||
* | less: less <HUGEFILE + [End] busy loops, fix it | Denis Vlasenko | 2007-05-31 | 1 | -1/+3 | |
| | ||||||
* | less: forgot trivial #if ENABLE_xxxx | Denis Vlasenko | 2007-05-31 | 1 | -0/+2 | |
| | ||||||
* | 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 | |
| |