Age | Commit message (Collapse) | Author |
|
for DHCPDECLINE. Fixing, and making code smaller.
|
|
syslogd: trivial build fix
|
|
Our shells are immune from this nasty O_NONBLOCK now!
function old new delta
nonblock_safe_read - 78 +78
file_get 276 295 +19
generateMTFValues 428 435 +7
read_line_input 1776 1772 -4
preadbuffer 543 450 -93
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/2 up/down: 104/-97) Total: 7 bytes
text data bss dec hex filename
615190 715 23924 639829 9c355 busybox_old
615168 715 23924 639807 9c33f busybox_unstripped
|
|
|
|
function old new delta
stzalloc - 29 +29
ckzalloc - 29 +29
recordregion 108 102 -6
cmdlookup 158 152 -6
pipeline 188 181 -7
parseheredoc 135 128 -7
makename 42 35 -7
list 355 348 -7
setvareq 221 212 -9
aliascmd 324 311 -13
pushfile 83 69 -14
readtoken1 2872 2849 -23
parse_command 1430 1391 -39
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 0/11 up/down: 58/-138) Total: -80 bytes
text data bss dec hex filename
577227 706 23740 601673 92e49 busybox_old
577147 706 23740 601593 92df9 busybox_unstripped
|
|
|
|
|
|
|
|
httpd: trivial compile fix
|
|
|
|
we use it for config reload, and we have QUIT for "restart".
|
|
|
|
|
|
|
|
+130 bytes. Closes bug 992.
|
|
::restart:/sbin/rc restart
resulted in:
exec of '/sbin/rc restart' failed: No such file or directory
|
|
|
|
tail: a few variables renamed
wc: tiny optimization.
|
|
function old new delta
chat_main - 1230 +1230
unescape - 135 +135
packed_usage 23802 23922 +120
signal_handler 123 131 +8
input_backward 123 128 +5
applet_names 1775 1780 +5
applet_main 1076 1080 +4
applet_nameofs 538 540 +2
exitcode - 1 +1
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 6/0 up/down: 1510/0) Total: 1510 bytes
|
|
|
|
Also adds findfs applet. Closes bug 1143.
|
|
|
|
782357 728 7476 790561 c1021 busybox_old
782429 728 7476 790633 c1069 busybox_unstripped
|
|
mount: do "struct globals" trick
With -vv on:
function old new delta
verbose_mount - 83 +83
mount_main 970 988 +18
mount_it_now 219 229 +10
singlemount 4564 4570 +6
mount_option_str 227 233 +6
nfs_mount_version 1 - -1
fslist 4 - -4
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 4/0 up/down: 123/-5) Total: 118 bytes
|
|
mount: sanitize environ if called by non-root
*: adjust for slightly different sanitize routine
|
|
|
|
bloatcheck for last four commits:
function old new delta
xrename - 38 +38
md5_hash_block 437 458 +21
sv_main 1237 1254 +17
update_status 569 580 +11
decode_format_string 795 805 +10
doset 317 326 +9
passwd_main 1070 1074 +4
sha1_compile 447 446 -1
rename_or_warn 49 47 -2
fill_bounds 174 172 -2
buffer_fill_and_print 76 73 -3
bb_perror_nomsg 9 - -9
get_next_block 1810 1795 -15
patch_main 1107 1085 -22
write_status_file 1123 1077 -46
remove 52 - -52
__GI_remove 52 - -52
open_as_user 171 111 -60
microcom_main 811 747 -64
dos2unix_main 452 383 -69
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 6/10 up/down: 110/-397) Total: -287 bytes
|
|
|
|
|
|
|
|
|
|
(Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>)
|
|
which sets same handler for many signals. sig_catch is nuked
(bb_signals_recursive is more descriptive name).
*: use them as appropriate.
function old new delta
bb_signals_recursive - 95 +95
bb_signals - 52 +52
run_command 258 273 +15
svlogd_main 1368 1377 +9
runsv_main 1746 1752 +6
runsvdir_main 1643 1646 +3
UNSPEC_print 64 66 +2
time_main 1128 1127 -1
...
resize_main 246 210 -36
sig_catch 63 - -63
set_fatal_sighandler 85 14 -71
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
|
|
crontab: make "-c /tmp/ -e" work
|
|
|
|
ifupdown_main 2170 2459 +289
find_iface_state 57 56 -1
next_word 63 58 -5
popen2 350 - -350
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 1/2 up/down: 289/-356) Total: -67 bytes
|
|
add_cmd 1189 1190 +1
xconnect_ftpdata 118 117 -1
data_align 86 84 -2
process_files 2101 2096 -5
forkexec 1345 1334 -11
|
|
crontab: make options consistent with other implementations
text data bss dec hex filename
2042 4 0 2046 7fe busybox.t1/miscutils/crontab.o
1331 0 0 1331 533 busybox.t2/miscutils/crontab.o
function old new delta
edit_file 733 956 +223
open_as_user - 171 +171
packed_usage 23652 23650 -2
CDir 8 4 -4
ChangeUser 139 - -139
crontab_main 1522 616 -906
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 1/3 up/down: 394/-1051) Total: -657 bytes
|
|
function old new delta
next_word 78 63 -15
ifupdown_main 2381 2170 -211
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/2 up/down: 0/-226) Total: -226 bytes
|
|
closes bug 2134.
|
|
|
|
can turn around and check its sysfs status
|
|
|
|
new rtcwake applet as well as hwclock can utilize the same code
|
|
|
|
escape in middle of usage
|
|
|
|
By Natanael Copa <natanael.copa at gmail.com>
|
|
|
|
|