aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-12-26Fix xmalloc_fgets_str so that it really does NOT strip terminator.Denis Vlasenko
Add xmalloc_fgetline_str which does strip terminator, and use it in dpkg instead of xmalloc_fgets_str. netstat: use xmalloc_fgets_str - allows to eat strings with NULs (this fixes bug with some weird /proc/net/unix input) function old new delta xmalloc_fgets_internal - 191 +191 xmalloc_fgetline_str - 18 +18 do_info 116 120 +4 unix_do_one 451 447 -4 tcp_do_one 423 419 -4 send_tree 369 365 -4 xmalloc_fgets_str 178 15 -163 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 1/4 up/down: 213/-175) Total: 38 bytes text data bss dec hex filename 778445 832 7344 786621 c00bd busybox_old 778483 832 7344 786659 c00e3 busybox_unstripped
2007-12-26init: don't spawn tons of waiting children, one is enoughDenis Vlasenko
init: shrink signal disabling code init: rename some functions text data bss dec hex filename 778657 832 7344 786833 c0191 busybox_old 778445 832 7344 786621 c00bd busybox_unstripped
2007-12-25init: sometimes, #ifdefs are cleaner.Denis Vlasenko
2007-12-25sync examples to what actual actual code expectsDenis Vlasenko
2007-12-25add expected outputMike Frysinger
2007-12-25convert #if to if -- let gcc optimize away dead code for usMike Frysinger
2007-12-25init: add FEATURE_KILL_REMOVED (Eugene Bordenkircher <eugebo@gmail.com>)Denis Vlasenko
init: slight size optimization
2007-12-24fix typo in web pageDenis Vlasenko
2007-12-24Makefile: change version to 1.10.0.svnDenis Vlasenko
udhcpc: make UDP packet sending the same as raw sending in regards to error messages. Minor code size shrink. Total size grows due to added messages: text data bss dec hex filename 770312 683 7244 778239 bdfff busybox_old 770327 683 7244 778254 be00e busybox_unstripped
2007-12-24Announce 1.9.0Denis Vlasenko
2007-12-24hush: fixlet for NOMMUDenis Vlasenko
update TODO_config_nommu
2007-12-24nameif: extended matching (Nico Erfurth <masta@perlgolf.de>)Denis Vlasenko
*: whitespace fixes function old new delta prepend_new_eth_table - 304 +304 nameif_main 620 684 +64 cc_macaddr 51 - -51 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 1/0 up/down: 368/-51) Total: 317 bytes
2007-12-24defconfig: updateDenis Vlasenko
appletli.c: add vda's (C) top: fixlet for incorrect display of "0" Makefile: reduce stack size from 20k to 16k
2007-12-24od: reduce data/bss usage (code size went down too)Denis Vlasenko
2007-12-24umount: fix fallout from stack reduction changeDenis Vlasenko
2007-12-23vi: speed up some string opsDenis Vlasenko
2007-12-22cttyhack: trivial build fixletDenis Vlasenko
2007-12-22vi: reduce amount of memset'ing on each screen refreshDenis Vlasenko
2007-12-22vi: introduce FEATURE_VI_8BIT (as vi currently is not Unicode capable,Denis Vlasenko
people may want to disable display of high-bit chars) ip: build fixlet
2007-12-22perror_nomsg: don't print extra colonDenis Vlasenko
losetup: print name of loop device in error messages
2007-12-22vi: change MAX_LINELEN meaning: now it is the biggest supportedDenis Vlasenko
screen wigth. Introduce MAX_TABSTOP and MAX_INPUT_LEN. Fix redraw of very long lines and cursor movement past NULs.
2007-12-21fix buglets found by randomconfigDenis Vlasenko
2007-12-21vi: fix a problem with displaying overlong linesDenis Vlasenko
2007-12-21udhcp: decided to not send "short" dhcp packets,Denis Vlasenko
but lets add comments how to do it if needed.
2007-12-20udhcp: fix oversized packet sending (introduced by "slack for bad dhcp ↵Denis Vlasenko
servers" options); slight optimizations and function renaming udhcp_send_raw_packet - 391 +391 udhcp_send_kernel_packet - 197 +197 udhcp_recv_packet - 134 +134 get_raw_packet 353 326 -27 udhcp_get_packet 134 - -134 udhcp_kernel_packet 197 - -197 udhcp_raw_packet 391 - -391 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 0/1 up/down: 722/-749) Total: -27 bytes
2007-12-16fdisk: reduce global data/bss usage. 8k data+bss build is achievable soon ;)Denis Vlasenko
(add/remove: 0/13 grow/shrink: 6/19 up/down: 74/-492) Total: -418 bytes text data bss dec hex filename 778330 860 7408 786598 c00a6 busybox_old 777970 840 7376 786186 bff0a busybox_unstripped
2007-12-16msh: reduce global data/bss usageDenis Vlasenko
(add/remove: 1/5 grow/shrink: 28/6 up/down: 464/-394) Total: 70 bytes text data bss dec hex filename 778077 908 7568 786553 c0079 busybox_old 778330 860 7408 786598 c00a6 busybox_unstripped
2007-12-16ash: reduce global data/bss usageDenis Vlasenko
(add/remove: 4/29 grow/shrink: 76/21 up/down: 1007/-1713) Total: -706 bytes text data bss dec hex filename 777206 1084 8976 787266 c0342 busybox_old 778077 908 7568 786553 c0079 busybox_unstripped
2007-12-16traceroute: stop using global data/bssDenis Vlasenko
(add/remove: 0/15 grow/shrink: 0/1 up/down: 0/-95) Total: -95 bytes text data bss dec hex filename 777245 1094 9008 787347 c0393 busybox_old 777206 1084 8976 787266 c0342 busybox_unstripped
2007-12-13add a link to vda's pet projectsDenis Vlasenko
2007-12-11num conversions: allow for leading '+' (renice needs that)Denis Vlasenko
2007-12-10cttyhack: add missing ';'Denis Vlasenko
init: remove pointless access() check
2007-12-10init: remove superfluous forks and messing up with argv[0]Denis Vlasenko
cttyhack: add stealing of ctty
2007-12-10udhcpc: support for -O <option>.Denis Vlasenko
Two important notes: * nissrv and nisdomain are not requested by default anymore! * inconsistency between "XXXsvr" and "XXsrv" in option names resolved, all are "XXXsrv" now. function old new delta udhcpc_main 2494 2600 +106 packed_usage 23023 23067 +44 add_requests 91 119 +28 static.udhcpc_longopts 209 226 +17 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/0 up/down: 195/0) Total: 195 bytes
2007-12-09find: add -iname support (Alexander Griesser <alexander.griesser@lkh-vil.or.at>)Denis Vlasenko
2007-12-09lineedit: don't violate API if we do simple fgetsDenis Vlasenko
ash: cosmetic style fixes, no code changes
2007-12-09vi: don't use common_bufsiz as read buffer, it can be too smallDenis Vlasenko
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
2007-12-04signal names hack was wrong, it broke "get signal name" function.Denis Vlasenko
Reverting :(
2007-12-04getty: a small code shrinkDenis Vlasenko
touch - 40 +40 fakehost 4 - -4 getty_main 2546 2493 -53
2007-12-04Make signal table a bit smallerDenis Vlasenko
get_signum 136 151 +15 signals 224 192 -32
2007-12-04guard against SIGxxx >= 32 (no code changes on i386)Denis Vlasenko
2007-12-04getty: don't accept ancient '#' and '@' as backspace/kill line,Denis Vlasenko
it only confuses people. (Alexander Griesser <alexander.griesser@lkh-vil.or.at> (LKH Villach)) various other cleanups. function old new delta getty_main 2526 2546 +20 static.baud_index 4 - -4 parse_speeds 91 - -91 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/0 up/down: 20/-95) Total: -75 bytes text data bss dec hex filename 773152 1086 9008 783246 bf38e busybox_old 773081 1086 9008 783175 bf347 busybox_unstripped
2007-12-03lineedit: reduce stack usageDenis Vlasenko
netstat: reduce stack usage; fix handling of NULs in unix socket filenames static.has_inode 1 - -1 do_info 119 116 -3 deinit_S 60 51 -9 unix_do_one 578 451 -127 parse_and_put_prompt 966 825 -141 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/4 up/down: 0/-281) Total: -281 bytes
2007-12-02fix whitespace damageDenis Vlasenko
2007-12-02mkfs.minix: add testsuite; disable code which makes images variableDenis Vlasenko
2007-12-02attack the biggest stack users:Denis Vlasenko
-mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
2007-12-02explain why we use mmap instead of mallocDenis Vlasenko
2007-12-02libnetlink: comment out unused code; don't use 8k stack buffersDenis Vlasenko
function old new delta ipaddr_modify 1305 1297 -8 do_iprule 963 955 -8 do_iproute 2193 2169 -24 xrtnl_dump_filter 418 391 -27 rtnl_talk 671 536 -135 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-202) Total: -202 bytes
2007-12-02Fix minor discrepancy in "make help"Denis Vlasenko
2007-12-02Introduce FEATURE_COPYBUF_KB.Denis Vlasenko
People who want smaller stack at any cost may use it to reduce cp's stack usage (FEATURE_COPYBUF_KB=1). Desktop people may get faster copy of big files (FEATURE_COPYBUF_KB=32 is ~30% faster than 4kb)