aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-17pidof/killall: allow find_pid_by_name to find runningDenis Vlasenko
processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat)
2008-07-17update READMEDenis Vlasenko
2008-07-17build system: fix indentation in config menuDenis Vlasenko
2008-07-17init: fix compile-time error; fix exiting on broken config fileDenis Vlasenko
parse_config: cosmetics
2008-07-17- very minor shrinkage (-9b)Bernhard Reutner-Fischer
2008-07-17- fix "noreduce" flag of config_read (didn't work at all, at least for me).Bernhard Reutner-Fischer
- convert init's inittab parsing to the new config parser: function old new delta config_read 393 386 -7 static.actions 72 64 -8 .rodata 121772 121764 -8 parse_inittab 554 393 -161 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/4 up/down: 0/-184) Total: -184 bytes
2008-07-17- fix segfault in nameif with mactab fileBernhard Reutner-Fischer
(by fixing and shrink config parser) function old new delta config_free_data - 37 +37 config_open 43 48 +5 pack_gzip 1658 1660 +2 nameif_main 527 525 -2 SynchronizeFile 629 623 -6 make_device 1184 1176 -8 config_close 31 18 -13 config_read 431 393 -38 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/5 up/down: 44/-67) Total: -23 bytes
2008-07-17printf: protect against bogus format specifiers. Hopefully closes bug 4184Denis Vlasenko
2008-07-17bb_strtoXXX: close bug 4174 (potential use of buf[-1])Denis Vlasenko
2008-07-17- warn about overlong lines in help-textsBernhard Reutner-Fischer
I initially bailed out with an error, but then that's a bit rough. Just warn to trick somebody into fixing them..
2008-07-16config help fixesDenis Vlasenko
2008-07-16fix up callsites of config_read to check for >= 0Denis Vlasenko
2008-07-16update of config file parser from VladimirDenis Vlasenko
2008-07-16sendmail: do not discard all headersDenis Vlasenko
2008-07-16cpio: make long opts depend only on ENABLE_GETOPT_LONGDenis Vlasenko
2008-07-16install: do not chown intermediate directories with install -d; shrinkDenis Vlasenko
(by Natanael Copa) function old new delta .rodata 171528 171511 -17 install_main 841 697 -144 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-161) Total: -161 bytes
2008-07-16s/SELINIX/SELINUX/Denis Vlasenko
2008-07-16libbb: get rid of statics in dump.c; code shrinks a lot tooDenis Vlasenko
function old new delta alloc_dumper - 26 +26 hexdump_main 600 601 +1 static.done 1 - -1 static.ateof 1 - -1 bb_dump_vflag 1 - -1 static.savp 4 - -4 static.nextfs 4 - -4 static.curp 4 - -4 exitval 4 - -4 endfu 4 - -4 bb_dump_length 4 - -4 bb_dump_fshead 4 - -4 bb_dump_blocksize 4 - -4 _argv 4 - -4 bb_dump_add 365 358 -7 savaddress 8 - -8 eaddress 8 - -8 bb_dump_skip 8 - -8 address 8 - -8 bb_dump_dump 2748 2672 -76 next 538 445 -93 ------------------------------------------------------------------------------ (add/remove: 1/16 grow/shrink: 1/3 up/down: 27/-247) Total: -220 bytes text data bss dec hex filename 789458 607 6764 796829 c289d busybox_old 789309 601 6696 796606 c27be busybox_unstripped
2008-07-16tee: fix infinite looping on open error (echo asd | tee "")Denis Vlasenko
2008-07-16od,hexdump: fix bug where xrealloc may move pointer,Denis Vlasenko
leaving other pointers dangling (bug 4104). + many style fixes in libbb/dump.c.
2008-07-15mdev: support for serializing hotplugDenis Vlasenko
function old new delta mdev_main 503 647 +144
2008-07-15sleep: make fractional seconds separately selectable in .configDenis Vlasenko
2008-07-15libbb: document plans to speed up line-based inputDenis Vlasenko
2008-07-15libbb: unified config parser (By Vladimir Dronnikov)Denis Vlasenko
mdev: use it function old new delta config_read - 400 +400 config_open - 43 +43 config_close - 9 +9 qrealloc 33 36 +3 compare_keys 735 737 +2 xstrtoull_range_sfx 296 295 -1 qgravechar 109 106 -3 get_address 181 178 -3 next_token 928 923 -5 sv_main 1228 1222 -6 find_main 418 406 -12 next_field 32 - -32 make_device 1269 1184 -85 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/7 up/down: 457/-147) Total: 310 bytes
2008-07-15sendmail: do not ignore CC; accept to: and cc: case-insensitively.Denis Vlasenko
+20 bytes.
2008-07-15libbb: experimental faster string reading routines.Denis Vlasenko
2008-07-15comm: almost total rewrite; add testsuiteDenis Vlasenko
function old new delta writeline 128 125 -3 comm_main 540 239 -301 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-304) Total: -304 bytes
2008-07-15ls: fix a bug where we may use uninintialized variableDenis Vlasenko
2008-07-15tee: "-" is a name for stdout, handle it that wayDenis Vlasenko
2008-07-14insmod: users report that "|| defined(__powerpc__)" is missingDenis Vlasenko
2008-07-14hush: fix "... pattern) cmd;; esac" caseDenis Vlasenko
2008-07-14hush: delete unused field in struct child.Denis Vlasenko
reinstate needed check for invalid syntax. document command parsing in hush_doc.txt.
2008-07-14hush: add case statement support. It is incomplete and disabled for now.Denis Vlasenko
costs ~300 bytes when enabled.
2008-07-13ash: small code shrinkDenis Vlasenko
2008-07-12libbb: shrink print_login_issue (by Vladimir Dronnikov)Denis Vlasenko
function old new delta print_login_issue 469 435 -34
2008-07-12whitespace fixesDenis Vlasenko
2008-07-12whitespace fixing scriptDenis Vlasenko
2008-07-12sleep: if FANCY && DESKTOP, support fractional seconds, minutes,Denis Vlasenko
hours and so on. It's coreutils compat. bloatcheck is atrocious :( function old new delta sleep_main 71 362 +291 bb_strtod - 127 +127 make_device 1269 1294 +25 getoptscmd 708 713 +5 switch_root_main 402 401 -1 display_speed 90 85 -5 show_entry 295 289 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 3/4 up/down: 448/-20) Total: 428 bytes
2008-07-12*: add FAST_FUNC markersDenis Vlasenko
function old new delta getopt_mk_fifo_nod 73 70 -3 mv_main 505 501 -4 cp_mv_stat2 79 73 -6 cp_main 266 257 -9 cp_mv_stat 22 10 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 46/-80) Total: -34 bytes
2008-07-12mv: fix a case when we move dangling symlinkDenis Vlasenko
2008-07-12mdev: check for "/block/" substring for block dev detectionDenis Vlasenko
function old new delta make_device 1294 1269 -25
2008-07-12mdev: if device was moved at creation, at removal coreectly removeDenis Vlasenko
it from moved location and also remove symlinks to it function old new delta build_alias - 78 +78 mdev_main 505 503 -2 make_device 1300 1294 -6 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/2 up/down: 78/-8) Total: 70 bytes
2008-07-12fuser: a bit of safety in scanfDenis Vlasenko
2008-07-12cpio: internalize archive_xread_all_eof. add a few paranoia checksDenis Vlasenko
for corrupted cpio files. modprobe-small: remove stray include route: small code shrink function old new delta get_header_cpio 958 980 +22 archive_xread_all_eof 33 - -33 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 22/-33) Total: -11 bytes
2008-07-11switch_root: shrinkDenis Vlasenko
function old new delta switch_root_main 402 401 -1 rootdev 8 - -8 delete_contents 226 179 -47 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes
2008-07-11ash: fix segfault in "command -v"Denis Vlasenko
2008-07-11cpio: on unpack, limit filename length to 8k; shorten comment a bitDenis Vlasenko
2008-07-11Announce 1.11.1Denis Vlasenko
2008-07-11cpio: testsuite for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771Denis Vlasenko
which was fixed in proevious commit
2008-07-11cpio: support some long options; document GNU optionsDenis Vlasenko