aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-07-06hush: support "for if in do done then; do echo $if; done" caseDenis Vlasenko
function old new delta done_pipe 83 95 +12 parse_stream 1758 1764 +6 done_word 674 647 -27 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 18/-27) Total: -9 bytes
2008-07-06mdev: do not follow symlinks in /sys (as was intended prior to rev 18811).Denis Vlasenko
If this breaks things, please document why! mdev,init: use shared code for fd sanitization function old new delta bb_daemonize_or_rexec 155 172 +17 mdev_main 500 505 +5 init_main 907 856 -51 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 22/-51) Total: -29 bytes
2008-07-05hush: support "for v; do ... done" syntax (implied 'in "$@"')Denis Vlasenko
2008-07-05hush: fix a case where "$@" must expand to no word at allDenis Vlasenko
2008-07-05*: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko
2008-07-05man: fix inverted cat/man bool variableDenis Vlasenko
2008-07-05man: code shrinkDenis Vlasenko
function old new delta man_main 725 765 +40 show_manpage 112 - -112 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/0 up/down: 40/-112) Total: -72 bytes
2008-07-04man: support cat pages too (by Jason Curl <jcurlnews AT arcor.de>)Denis Vlasenko
function old new delta show_manpage - 112 +112 run_pipe 89 102 +13 man_main 721 725 +4
2008-07-04man: fix missed NULL termination of an arrayDenis Vlasenko
function old new delta man_main 741 721 -20
2008-07-04libbb/recursive_action.c: fix slight error in prev commitDenis Vlasenko
2008-07-04modutils: optional modutils-small by Vladimir Dronnikov.Denis Vlasenko
15kb smaller than standard one. libbb/recursive_action.c: commented-out code for aborting the scan.
2008-07-02awk: another smallish code shrinkDenis Vlasenko
2008-07-02webpage: fix typosDenis Vlasenko
2008-07-02uname,individual: fix improper printf usageDenis Vlasenko
uname,awk: small code shrink function old new delta uname_main 175 166 -9 nvalloc 167 157 -10 evaluate 6381 6370 -11 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-30) Total: -30 bytes
2008-07-02- fix trivial exploit vector when setXidNed Ludd
2008-07-01sendmail: fix wrong vfork usage here tooDenis Vlasenko
*: shorten error texts function old new delta launch_helper - 151 +151 vfork_or_die 20 - -20 sendgetmail_main 1946 1848 -98 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/1 up/down: 151/-118) Total: 33 bytes
2008-07-01revert last two commits. vfork cannot be used in subroutine,Denis Vlasenko
it trashes stack on return
2008-07-01- wrap overlong linesBernhard Reutner-Fischer
2008-07-01*: introduce and use xfork()Denis Vlasenko
function old new delta xfork - 20 +20 msh_main 1377 1380 +3 mod_process 455 446 -9 forkexit_or_rexec 30 17 -13 expand_variables 1434 1421 -13 open_transformer 91 76 -15 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/4 up/down: 23/-50) Total: -27 bytes
2008-07-01add missing fileDenis Vlasenko
2008-07-01*: introduce and use xvfork()Denis Vlasenko
function old new delta time_main 1052 1285 +233 crontab_main 623 856 +233 ifupdown_main 2202 2403 +201 xvfork - 20 +20 passwd_main 1049 1053 +4 grave 1068 1066 -2 script_main 935 921 -14 vfork_or_die 20 - -20 vfork_compressor 206 175 -31 open_as_user 109 - -109 popen2 218 - -218 edit_file 910 690 -220 run_command 268 - -268 ------------------------------------------------------------------------------ (add/remove: 1/4 grow/shrink: 4/4 up/down: 691/-882) Total: -191 bytes
2008-07-01ssd: fix missed + in prev commitDenis Vlasenko
2008-07-01ssd: do not stat -x EXECUTABLE, it is not needed anymoreDenis Vlasenko
ssd: use PATH ssd: fix -a without -x case ssd: fix help text ssd: CLOSE_EXTRA_FDS in MMU case too ssd: add testsuite
2008-07-01awk: fix a case with multiple -f options. simplify -f file reading.Denis Vlasenko
function old new delta parse_expr 833 841 +8 qrealloc 33 36 +3 next_input_file 203 198 -5 afopen 22 - -22 ftello 41 - -41 ftell 41 - -41 __GI_ftell 41 - -41 awk_main 1002 944 -58 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 2/2 up/down: 11/-208) Total: -197 bytes text data bss dec hex filename 804232 610 6804 811646 c627e busybox_old 804120 610 6804 811534 c620e busybox_unstripped
2008-06-30crond: use execlp instead of execlDenis Vlasenko
2008-06-30sendmail: from Vladimir:Denis Vlasenko
Here comes the third part of compatibility patch for sendmail. * Introduced new safe_getdomainname() -- will it be useful? * Fixed SEGV if sender address is missed. Should snoop for sender address in mail headers? * More compat: use HOSTNAME instead of HOST when no server is explicitly specified. * crond: fixed mail recipient address. function old new delta safe_getdomainname - 56 +56 sendgetmail_main 1937 1946 +9 grep_file 846 850 +4 crond_main 1423 1425 +2 xstrtoull_range_sfx 295 296 +1 utoa_to_buf 110 108 -2 passwd_main 1053 1049 -4 sv_main 1234 1228 -6 parse_expr 841 833 -8 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/4 up/down: 72/-20) Total: 52 bytes
2008-06-30nmeter: tiny shrinkDenis Vlasenko
2008-06-29libiproute: print_route() always uses stdout, do not pass FILE pointer to it.Denis Vlasenko
libiproute: Use FAST_FUNC function old new delta iprule_modify 884 905 +21 ipaddr_modify 1289 1310 +21 rtnl_send 53 69 +16 xrtnl_wilddump_request 109 124 +15 xrtnl_dump_filter 394 403 +9 rtnl_talk 534 539 +5 print_addrinfo 1369 1374 +5 iproute_modify 1017 1020 +3 iprule_list 81 83 +2 xrtnl_open 163 161 -2 parse_rtattr 89 87 -2 ipaddr_list_or_flush 2176 2174 -2 addattr_l 91 88 -3 flush_update 116 108 -8 iproute_list_or_flush 1285 1263 -22 iproute_get 878 852 -26 print_route 1913 1752 -161 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 9/8 up/down: 97/-226) Total: -129 bytes
2008-06-29fdisk: cosmetics, and removal of dead dataDenis Vlasenko
2008-06-29fdisk: move more data to struct globals; shrink code Denis Vlasenko
function old new delta nowarn 1 - -1 listing 1 - -1 dos_compatible_flag 1 - -1 warn_cylinders 44 42 -2 open_list_and_close 364 362 -2 fdisk_fatal 41 38 -3 verify 1053 1049 -4 user_sectors 4 - -4 user_heads 4 - -4 user_cylinders 4 - -4 pt_sectors 4 - -4 pt_heads 4 - -4 kern_sectors 4 - -4 kern_heads 4 - -4 ext_index 4 - -4 total_number_of_sectors 8 - -8 extended_offset 8 - -8 create_doslabel 129 120 -9 write_table 225 211 -14 delete_partition 445 431 -14 set_partition 476 459 -17 list_disk_geometry 247 229 -18 unable_to_write 19 - -19 add_partition 2515 2486 -29 get_boot 1709 1636 -73 fdisk_main 2812 2679 -133 ------------------------------------------------------------------------------ (add/remove: 0/14 grow/shrink: 0/12 up/down: 0/-388) Total: -388 bytes text data bss dec hex filename 804634 611 6852 812097 c6441 busybox_old 804298 610 6804 811712 c62c0 busybox_unstripped
2008-06-29libbb: shrink monotonic_XXX functions, introduce monotonic_nsDenis Vlasenko
(unused for now) function old new delta get_mono - 31 +31 sv_main 1228 1234 +6 expand 1693 1697 +4 get_address 178 181 +3 utoa_to_buf 108 110 +2 builtin_exit 46 48 +2 qrealloc 36 33 -3 qgravechar 109 106 -3 ash_main 1383 1380 -3 grep_file 850 846 -4 popstring 140 134 -6 monotonic_us 85 60 -25 monotonic_sec 41 16 -25 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 5/7 up/down: 48/-69) Total: -21 bytes
2008-06-29wget: "support" -t and -T by ignoring themDenis Vlasenko
2008-06-28nmeter: tiny shrinkDenis Vlasenko
2008-06-28nmeter: cosmeticsDenis Vlasenko
2008-06-28nmeter: code shrinkDenis Vlasenko
function old new delta init_delay 61 64 +3 init_cpu 86 82 -4 init_int 63 57 -6 nmeter_main 679 667 -12 init_if 88 63 -25 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 3/-47) Total: -44 bytes
2008-06-28sendmail: another update from the maintainerDenis Vlasenko
function old new delta sendgetmail_main 1894 1937 +43 crond_main 1416 1423 +7 packed_usage 24540 24470 -70 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 50/-70) Total: -20 bytes
2008-06-28lineedit: document prompt handlingDenis Vlasenko
2008-06-28bunzip2: make proper fix for the problem "fixed" in rev. 22521Denis Vlasenko
Thanks for Rob Landley <rob@landley.net>
2008-06-28libunarchive: stop using static data in archivers - archive_handle_tDenis Vlasenko
can trivially provide space for that. rpm: code shrink tar: simplify autodetection of bz2/.gz function old new delta static.not_first 1 - -1 static.end 1 - -1 bb_makedev 51 49 -2 static.saved_hardlinks_created 4 - -4 static.saved_hardlinks 4 - -4 longname 4 - -4 linkname 4 - -4 hash_file 251 247 -4 get_header_tar 1528 1521 -7 rpm_main 1711 1697 -14 get_header_cpio 965 944 -21 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/5 up/down: 0/-66) Total: -66 bytes text data bss dec hex filename 804926 611 6868 812405 c6575 busybox_old 804878 611 6852 812341 c6535 busybox_unstripped
2008-06-28fix FAST_FUNC falloutDenis Vlasenko
2008-06-28build system fixlet to ease blackfin buildDenis Vlasenko
2008-06-28touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)Denis Vlasenko
function old new delta touch_main 136 221 +85
2008-06-27stat: pointers are not 0L, they are NULLDenis Vlasenko
man: better error handling
2008-06-27man: mimic "no manual entry for 'bogus'" message and exitcodeDenis Vlasenko
2008-06-27support gzip -t and bzip2 -tDenis Vlasenko
2008-06-27sendmail: update from maintainerDenis Vlasenko
2008-06-27cpio: fix -m to actually work as expected (Pascal Bellard)Denis Vlasenko
function old new delta cpio_main 1140 1153 +13
2008-06-27unlzma: fix memory leak (Pascal Bellard)Denis Vlasenko
2008-06-27add stdcall to FAST_FUNCDenis Vlasenko
text data bss dec hex filename 804476 611 6868 811955 c63b3 busybox_old 804373 611 6868 811852 c634c busybox_unstripped
2008-06-27vi: fix vda's thinkoDenis Vlasenko