Denis Vlasenko
0354aba9a1
df: fix FEATURE_DF_FANCY=off, FEATURE_HUMAN_READABLE=on case.
2009-03-19 03:56:20 +00:00
Denis Vlasenko
c1969f69b1
ls: make color-related code more readable. Fix a case when
...
it was working non-deterministically.
function old new delta
bold - 34 +34
showfiles 1508 1495 -13
fgcolor 50 34 -16
bgcolor 34 - -34
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/2 up/down: 34/-63) Total: -29 bytes
2009-03-18 22:39:34 +00:00
Denis Vlasenko
9210a36495
tr: support -C as synonym to -c
2009-03-15 16:41:55 +00:00
Denis Vlasenko
7241e6d377
uname: correct cut/paste error
...
touch: add long options
function old new delta
static.longopts 137 162 +25
touch_main 221 231 +10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 35/0) Total: 35 bytes
2009-03-15 01:28:30 +00:00
Denis Vlasenko
447ab18cf6
uname: support long options
2009-03-14 18:41:19 +00:00
Denis Vlasenko
245f91b649
ftpd + ls - timestamp = confused Mozilla. Prevent that.
2009-03-09 22:37:23 +00:00
Denis Vlasenko
1a6adbd71b
uniq: strncmp(a,b, -1) might be problematic, use INT_MAX instead
2009-03-09 16:43:28 +00:00
Denis Vlasenko
c41cba5a57
ftpd: reuse ls applet for LIST/NLST/STAT generation
...
function old new delta
popen_ls - 211 +211
ftpd_main 1760 1826 +66
handle_dir_common 199 228 +29
get_remote_transfer_fd 89 104 +15
replace_char 30 34 +4
handle_upload_common 263 265 +2
bind_for_passive_mode 129 121 -8
cmdio_write 84 62 -22
escape_text 166 136 -30
init_data_sock_params 81 - -81
ftpdataio_dispose_transfer_fd 87 - -87
write_dirstats 149 - -149
write_filestats 603 - -603
------------------------------------------------------------------------------
(add/remove: 1/4 grow/shrink: 11/5 up/down: 384/-986) Total: -602 bytes
text data bss dec hex filename
808804 476 7864 817144 c77f8 busybox_old
808156 476 7864 816496 c7570 busybox_unstripped
2009-03-09 15:46:07 +00:00
Denis Vlasenko
5e4fda0aff
ftpd: code chrink, fixed some minor bugs
...
ls: update comment
*: openlog fixes (added LOG_PID, set LOG_DAEMON as appropriate)
function old new delta
xwrite_str - 26 +26
cmdio_write_ok - 15 +15
handle_cwd 40 45 +5
packed_usage 25668 25670 +2
cmdio_write_raw 7 9 +2
handle_upload_common 322 320 -2
udhcpd_main 1375 1372 -3
udhcpc_main 2362 2359 -3
port_cleanup 27 23 -4
handle_dir_common 221 209 -12
str_netfd_write 26 - -26
cmdio_get_cmd_and_arg 122 - -122
ftpd_main 2208 2050 -158
------------------------------------------------------------------------------
text data bss dec hex filename
809933 476 7864 818273 c7c61 busybox_old
809199 476 7864 817539 c7983 busybox_unstripped
2009-03-08 23:46:48 +00:00
Denis Vlasenko
230997bd61
expr: a bit more robust handling of regexps with groups (closes bug 87)
2009-03-03 14:27:36 +00:00
Denis Vlasenko
6852effbc2
printf: fix 1.12.0 breakage (from %*d fix). It was misinterpreting "*"
2009-03-03 14:14:44 +00:00
Denis Vlasenko
248ce91017
ls: implement -Q and -g (-g was accepted but ignored)
...
function old new delta
print_name - 198 +198
showfiles 1489 1508 +19
ls_options 30 31 +1
opt_flags 112 108 -4
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/1 up/down: 218/-4) Total: 214 bytes
2009-03-03 14:09:04 +00:00
Denis Vlasenko
11a6f9b44f
ls: do not follow links with -s (closes bug 33),
...
display unsigned data with %XXu, not %XXd.
2009-03-03 13:20:22 +00:00
Denis Vlasenko
491d6e3b56
tr: fix overflow in expand and complement, fix stop after [:class:],
...
fix order of [:xdigit:], make tr require one param at least.
function old new delta
expand 1743 1849 +106
tr_main 463 518 +55
complement 72 75 +3
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 164/0) Total: 164 bytes
2009-03-02 12:05:57 +00:00
Denis Vlasenko
1bfcc8b08e
tr: support [:xdigit:], fix handling of ranges and [x]'s.
...
add testsuite entry for each of 3 bugs fixed.
function old new delta
static.classes 73 82 +9
expand 1738 1743 +5
complement 74 72 -2
tr_main 472 463 -9
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 14/-11) Total: 3 bytes
2009-03-01 04:50:18 +00:00
Bernhard Reutner-Fischer
bb5f8eddc4
- cosmetic typo in helptext
2009-02-14 12:13:13 +00:00
Denis Vlasenko
038eec7c8b
uname: use wider integer for option bits
2009-01-19 16:38:30 +00:00
Denis Vlasenko
059138fd08
uname: add support for -i and -o, fix printing of unknown -p
...
value with -a option
function old new delta
uname_main 166 185 +19
utsname_offset 12 16 +4
options 621 623 +2
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 25/0) Total: 25 bytes
2009-01-19 16:32:23 +00:00
Denis Vlasenko
cb39a7ca6d
printf: make integer format strings print long long-sized values.
...
function old new delta
printf_main 668 834 +166
bb_strtoll - 84 +84
print_direc 391 431 +40
conv_strtoull - 19 +19
conv_strtoll - 19 +19
conv_strtoul 16 - -16
conv_strtol 16 - -16
------------------------------------------------------------------------------
(add/remove: 4/2 grow/shrink: 2/0 up/down: 342/-32) Total: 296 bytes
2009-01-04 02:58:58 +00:00
Denis Vlasenko
e40e76f3cd
unexpand: fix incorrect expansion, add test for it
...
function old new delta
expand_main 676 656 -20
2008-12-26 14:56:03 +00:00
Denis Vlasenko
4e12b1a2a9
libbb: introduce and use xmalloc_ttyname (-32 in bss).
...
ash: small code shrink
text data bss dec hex filename
793669 504 7524 801697 c3ba1 busybox_old
793659 504 7492 801655 c3b77 busybox_unstripped
2008-12-23 23:36:47 +00:00
Denis Vlasenko
3139ea7f15
expand: fix incorrect expansion exactly on tab boundary; shrink the code
...
function old new delta
expand_main 698 676 -22
xputchar 53 - -53
2008-12-14 15:45:25 +00:00
Denis Vlasenko
311c19a661
ash: printf builtin with no arguments should not exit
2008-12-10 11:51:45 +00:00
Denis Vlasenko
db12d1d733
Fix forgotten license comments
2008-12-07 00:52:58 +00:00
Denis Vlasenko
d7a805efaf
libbb: introduce and use xgetpwnam. ~ -150 bytes.
2008-12-03 19:05:55 +00:00
Denis Vlasenko
0c68a874e7
libbb: password/group function helpers rewritten by Tito:
...
function old new delta
xgetpwuid - 27 +27
uid2uname_utoa - 22 +22
gid2group_utoa - 22 +22
uid2uname - 18 +18
gid2group - 18 +18
buffer_fill_and_print 179 196 +17
print_user 12 24 +12
print_group 12 24 +12
get_cached 89 99 +10
...
print_common 134 120 -14
vlock_main 415 396 -19
logger_main 410 387 -23
crontab_main 642 609 -33
bb_getpwuid 42 - -42
bb_getgrgid 42 - -42
bb_getug 80 - -80
------------------------------------------------------------------------------
(add/remove: 6/3 grow/shrink: 9/11 up/down: 187/-296) Total: -109 bytes
2008-12-02 22:56:59 +00:00
Denis Vlasenko
9e0a7c9c41
remove a few superfluous includes
2008-11-25 13:33:11 +00:00
Denis Vlasenko
61befda93b
ash,hush: add TODO for rare build failure
...
*: remove some redundant includes
2008-11-25 01:36:03 +00:00
Denis Vlasenko
de7a52fff2
id: do not abort build if we use internal password/group functions.
2008-11-17 00:12:17 +00:00
Denis Vlasenko
5ff1265691
id: abort the build of uclibc is less than 0.9.30
2008-11-16 15:03:11 +00:00
Denis Vlasenko
86c285d900
stat: fix compile breakage (get_f_fsid() is used even if !FEATURE_STAT_FORMAT)
2008-11-13 21:53:32 +00:00
Denis Vlasenko
7753ea49bd
seq: shrink by 10 bytes
2008-11-12 21:37:19 +00:00
Bernhard Reutner-Fischer
c021cb08b5
- add support for seq -s <separator>
2008-11-12 13:22:24 +00:00
Bernhard Reutner-Fischer
2598f761bb
- add seq -w support (Natanael Copa)
2008-11-12 12:59:56 +00:00
Denis Vlasenko
f91f14d221
cksum, printenv: report errors via exitcode
...
function old new delta
cksum_main 296 315 +19
printenv_main 74 86 +12
2008-11-11 22:59:41 +00:00
Denis Vlasenko
0d8736772d
head: report file open errors with exitcode 1 (was happily returning 0)
...
head_main 409 417 +8
2008-11-11 22:43:10 +00:00
Denis Vlasenko
272710fe93
expr: on error, exit with exitcode 2
...
expr_main 101 110 +9
2008-11-11 22:36:58 +00:00
Denis Vlasenko
98f5cdfca7
stat: make stat -f show filesystem "ID:" as coreutils does
...
print_statfs 358 370 +12
2008-11-11 22:25:34 +00:00
Denis Vlasenko
f3c2d13602
env: support -uVAR=VAL
...
function old new delta
env_main 245 233 -12
2008-11-11 21:32:39 +00:00
Denis Vlasenko
618a3027ed
du: fix "du /dir /dir" case
...
reset_ino_dev_hashtable - 84 +84
du 388 376 -12
du_main 327 301 -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 84/-38) Total: 46 bytes
2008-11-11 21:15:56 +00:00
Denis Vlasenko
2211d5268c
libbb: add optionl support for SHA256/512 encrypted passwords
...
function old new delta
sha_crypt - 2423 +2423
cryptpw_main 128 183 +55
to64 - 29 +29
pw_encrypt 974 1000 +26
str_rounds - 11 +11
login_main 1532 1541 +9
packed_usage 25215 25200 -15
__md5_to64 29 - -29
------------------------------------------------------------------------------
(add/remove: 3/1 grow/shrink: 3/1 up/down: 2553/-44) Total: 2509 bytes
2008-11-10 18:52:35 +00:00
Denis Vlasenko
56dceb9b77
sha256,sha512: new applets. +4.9kb
...
we will require sha256/512 code for new $5$ and $6$ style
password hashes anyway, they are showing up already
in people's /etc/passwd...
2008-11-10 13:32:50 +00:00
Denis Vlasenko
70e8f49f71
basename: fix error code. again. deja vu feeling...
2008-11-06 15:13:33 +00:00
Bernhard Reutner-Fischer
a643816fe3
- commentary typo fix (tito)
2008-11-05 08:18:16 +00:00
Bernhard Reutner-Fischer
6559100021
- fix typo in print_user() (tito)
2008-11-05 08:15:13 +00:00
Denis Vlasenko
e7368f16fa
id: better wording in comments, no code changes
2008-10-29 10:30:54 +00:00
Denis Vlasenko
34e68c8b42
id: coreutils compat by Tito + test script
2008-10-29 00:27:31 +00:00
Denis Vlasenko
b730474bda
ash: fix NOEXEC mode - we were forgetting to pass environment!
...
env: promote to NOEXEC
hd: promote to NOEXEC, as hexdump is NOEXEC already
2008-10-20 08:15:51 +00:00
Bernhard Reutner-Fischer
6c4dadefb6
- update my name. No obj-code changes ;)
2008-09-25 12:13:34 +00:00
Denis Vlasenko
e0bcba18eb
df: unsigned long needs %lu
2008-09-25 10:41:15 +00:00
Denis Vlasenko
2228426512
id: fix "id <user>" case. Requires getgrouplist().
...
function old new delta
getgrouplist_internal - 200 +200
id_main 462 539 +77
bb_internal_getgrouplist - 67 +67
bb__parsespent 119 117 -2
bb_internal_initgroups 213 58 -155
------------------------------------------------------------------------------
(add/remove: 2/0 grow/shrink: 1/2 up/down: 344/-157) Total: 187 bytes
2008-09-18 00:56:24 +00:00
Denis Vlasenko
53f219ebbe
setfont: support -m and -C, support -m TEXTUAL_MAP (by Vladimir)
...
build system: fixlet for echo applet config
function old new delta
setfont_main 157 387 +230
ctoi - 75 +75
packed_usage 24921 24950 +29
2008-09-16 19:35:42 +00:00
Denis Vlasenko
0d602e9386
id: unsigned long is excessive for option bitmask
2008-09-14 19:31:36 +00:00
Denis Vlasenko
4f3209b9d4
id: code shrink
...
function old new delta
id_main 494 462 -32
2008-09-13 12:51:10 +00:00
Bernhard Reutner-Fischer
0ee1cb0084
- implement id -G (Tito Ragusa)
2008-09-12 09:58:11 +00:00
Denis Vlasenko
9f9c1935fa
install: shrink -D code. By Bernhard.
...
function old new delta
install_main 726 707 -19
2008-09-06 14:35:08 +00:00
Denis Vlasenko
d4b719878f
kbd_mode: fix non-ASCII letters in comments
...
install: support -D
2008-09-03 21:54:46 +00:00
Denis Vlasenko
66496d75a7
build system: echo and test features may be enabled
...
even if these applets are enabled as ash builtins only
testsuite: add some awk tests
2008-08-29 08:37:07 +00:00
Denis Vlasenko
d66aa3c701
df: add support for more options, add some coreutils 6.10 compat.
...
by Bernhard Reutner-Fischer
function old new delta
df_main 664 795 +131
packed_usage 24812 24862 +50
make_human_readable_str 213 262 +49
static.ignored_mounts - 8 +8
static.unit_chars - 7 +7
static.zero_and_units 6 - -6
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 3/0 up/down: 245/-6) Total: 239 bytes
2008-08-28 22:42:52 +00:00
Denis Vlasenko
8f0e342803
cksum: respect CONFIG_LFS=y. Adds 36 bytes in this case.
2008-08-27 21:31:23 +00:00
Denis Vlasenko
8334db13c3
cut: fix buffer overflow (bug 4544).
2008-08-15 21:20:23 +00:00
Denis Vlasenko
c80191c1d9
install: fix long option not taking params (bug 4584)
2008-08-15 19:56:24 +00:00
Denis Vlasenko
20be63fe71
tr: fix yet another access past the end of a string (bug 4374)
2008-07-30 22:58:18 +00:00
Denis Vlasenko
043d15da31
tr: fix "tr [=" case. Closes bug 4374.
...
function old new delta
expand 1701 1738 +37
tr_main 472 474 +2
2008-07-28 23:49:42 +00:00
Denis Vlasenko
5e40070d38
tr: fix "access past the end of a string" bug 4354
2008-07-26 19:34:00 +00:00
Denis Vlasenko
6a0ad25061
ash: dont allow e.g. exec <&10 to attach to stript's fd!
...
function old new delta
is_hidden_fd - 61 +61
redirect 1135 1164 +29
popstring 134 140 +6
printf_main 635 637 +2
evalvar 1374 1376 +2
echo_main 294 296 +2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/0 up/down: 102/0) Total: 102 bytes
2008-07-25 13:34:05 +00:00
Denis Vlasenko
0f293b96dc
fix all cases of strcpy on overlapping strings.
2008-07-22 20:16:55 +00:00
Bernhard Reutner-Fischer
3e8669f359
- wrap overlong lines (Cristian Ionescu-Idbohrn)
...
- s/\. /. /g;# (me)
2008-07-22 18:27:53 +00:00
Denis Vlasenko
08d120e6e1
chown: do not use static data
...
function old new delta
chown_main 160 182 +22
fileAction 750 744 -6
ugid 8 - -8
2008-07-22 11:37:23 +00:00
Denis Vlasenko
9e3a540b1b
cut: stop using static data. This alone removed ~70 bytes of code.
...
+ some optimizations
function old new delta
nlists 4 - -4
cut_lists 4 - -4
cut_main 1041 960 -81
2008-07-22 10:34:46 +00:00
Denis Vlasenko
a5254032f5
cal: remove lone static data variable. -4 bytes. coreutils
...
is down to four applets with nonzero data+bss.
2008-07-22 10:10:13 +00:00
Denis Vlasenko
5415c856ea
libbb: [x]fopen_for_{read,write} introduced and used.
...
(by Valdimir)
function old new delta
config_open2 - 41 +41
config_read 507 542 +35
find_pair 169 187 +18
fopen_for_write - 14 +14
fopen_for_read - 14 +14
find_main 406 418 +12
xfopen_for_write - 10 +10
xfopen_for_read - 10 +10
popstring 134 140 +6
parse_inittab 396 401 +5
next_token 923 928 +5
pack_gzip 1659 1661 +2
bb__parsespent 117 119 +2
fallbackSort 1719 1717 -2
evalvar 1376 1374 -2
qrealloc 36 33 -3
...
...
...
...
singlemount 4579 4569 -10
process_stdin 443 433 -10
patch_main 1111 1101 -10
ifupdown_main 2175 2165 -10
file_action_grep 90 80 -10
uuidcache_init 649 637 -12
hush_main 797 785 -12
read_config 230 217 -13
dpkg_main 3835 3820 -15
read_line_input 3134 3110 -24
sysctl_main 232 203 -29
config_open 40 10 -30
WARN_BAD_LINE 44 - -44
login_main 1714 1575 -139
------------------------------------------------------------------------------
(add/remove: 5/1 grow/shrink: 8/74 up/down: 174/-737) Total: -563 bytes
2008-07-21 23:05:26 +00:00
Bernhard Reutner-Fischer
d73cbd31a2
- first pass to unify/cleanup uid handling (-236b)
...
This needs further love, alot of love.. Tito?
2008-07-21 14:41:33 +00:00
Denis Vlasenko
bd28f6bf7f
test: fix parser to prefer binop over unop, as coreutils does.
...
remove bogus workaround in main(). rename atrocious variables/functions.
much expand testsuite.
libbb: fix --help to not affect "test --help"
function old new delta
run_applet_no_and_exit 421 440 +19
nexpr 817 825 +8
static.no_op - 6 +6
test_main 397 257 -140
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 2/1 up/down: 104/-211) Total: -107 bytes
2008-07-19 08:15:13 +00:00
Denis Vlasenko
5f116629d8
printf: do not print garbage on "%Ld". closes bug 4214.
...
function old new delta
printf_main 633 637 +4
multiconvert 99 79 -20
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 4/-20) Total: -16 bytes
2008-07-18 18:41:55 +00:00
Denis Vlasenko
a48656b441
printf: fix %b, fix several bugs in %*.*, fix compat issues with
...
aborting too early, support %zd; expand testsuite
function old new delta
get_width_prec - 46 +46
multiconvert 82 99 +17
conv_strtod 44 54 +10
print_direc 382 391 +9
printf_main 629 633 +4
conv_strtoul 20 16 -4
conv_strtol 20 16 -4
my_xstrtoul 20 - -20
my_xstrtol 20 - -20
my_xstrtod 21 - -21
------------------------------------------------------------------------------
(add/remove: 1/3 grow/shrink: 4/2 up/down: 86/-69) Total: 17 bytes
2008-07-18 11:10:51 +00:00
Denis Vlasenko
0f683f818c
printf: protect against bogus format specifiers. Hopefully closes bug 4184
2008-07-17 09:17:51 +00:00
Denis Vlasenko
d6817f5d8b
install: do not chown intermediate directories with install -d; shrink
...
(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-16 21:49:02 +00:00
Denis Vlasenko
55f7912dda
libbb: get rid of statics in dump.c; code shrinks a lot too
...
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-16 11:00:16 +00:00
Denis Vlasenko
8ddb6410ed
tee: fix infinite looping on open error (echo asd | tee "")
2008-07-16 07:34:00 +00:00
Denis Vlasenko
97faf531c8
sleep: make fractional seconds separately selectable in .config
2008-07-15 22:01:49 +00:00
Denis Vlasenko
bb13079c8e
comm: almost total rewrite; add testsuite
...
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-15 06:45:14 +00:00
Denis Vlasenko
51f1b6c0e0
ls: fix a bug where we may use uninintialized variable
2008-07-15 05:21:47 +00:00
Denis Vlasenko
4b8171cd7a
tee: "-" is a name for stdout, handle it that way
2008-07-15 05:10:15 +00:00
Denis Vlasenko
adbb73bda7
sleep: if FANCY && DESKTOP, support fractional seconds, minutes,
...
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 17:05:14 +00:00
Denis Vlasenko
34e8f6a7ac
*: add FAST_FUNC markers
...
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-12 11:23:36 +00:00
Denis Vlasenko
13afb2acda
mv: fix a case when we move dangling symlink
2008-07-12 11:22:19 +00:00
Denis Vlasenko
f62ab2d774
libbb: use improved xmalloc_read() from modprobe-small
...
who: fix compile breakage on some systems
modprobe-small: improve Config help text wording
2008-07-09 09:50:33 +00:00
Denis Vlasenko
deeed59de0
libbb: introduce and use xrealloc_vector
...
function old new delta
xrealloc_vector_helper - 51 +51
create_list 84 99 +15
getopt_main 690 695 +5
passwd_main 1049 1053 +4
get_cached 85 89 +4
msh_main 1377 1380 +3
add_match 42 41 -1
read_lines 720 718 -2
grave 1068 1066 -2
fill_match_lines 143 141 -2
add_to_dirlist 67 65 -2
add_input_file 49 47 -2
act 252 250 -2
fsck_main 2252 2246 -6
man_main 765 757 -8
bb_internal_initgroups 228 220 -8
cut_main 1052 1041 -11
add_edge_to_node 55 43 -12
dpkg_main 3851 3835 -16
ifupdown_main 2202 2178 -24
sort_main 838 812 -26
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 5/15 up/down: 82/-124) Total: -42 bytes
2008-07-08 05:14:36 +00:00
Denis Vlasenko
a60f84ebf0
*: rename ATTRIBUTE_XXX to just XXX.
2008-07-05 09:18:54 +00:00
Denis Vlasenko
e0a7fc54eb
uname,individual: fix improper printf usage
...
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 11:14:59 +00:00
Ned Ludd
d4f72438e4
- fix trivial exploit vector when setXid
2008-07-02 00:12:06 +00:00
Denis Vlasenko
9579d87be4
fix FAST_FUNC fallout
2008-06-28 04:58:55 +00:00
Denis Vlasenko
ed90bdabb4
touch: support -r REF_FILE if ENABLE_DESKTOP (needed for blackfin compile)
...
function old new delta
touch_main 136 221 +85
2008-06-28 01:18:09 +00:00
Denis Vlasenko
b75fe798bb
stat: pointers are not 0L, they are NULL
...
man: better error handling
2008-06-27 22:31:07 +00:00
Denis Vlasenko
defc1ea340
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
...
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
2008-06-27 02:52:20 +00:00
Denis Vlasenko
7049ff8696
whitespace fixes. no code changes
2008-06-25 09:53:17 +00:00
Denis Vlasenko
cc3f20b9bd
fix breakage found by randomconfig
2008-06-23 22:31:52 +00:00
Denis Vlasenko
4a689e9b49
fix trivial error with inverted exit code in ls
2008-06-18 16:38:22 +00:00
Denis Vlasenko
d50dda8c35
*: use llist_pop for traverse-and-free list operation
...
function old new delta
append_file_list_to_list 109 111 +2
udhcpc_main 2414 2413 -1
run_parts_main 325 324 -1
od_main 2324 2323 -1
getopt_main 709 707 -2
env_main 253 251 -2
sed_main 659 656 -3
ps_main 522 519 -3
traceroute_main 3960 3954 -6
sort_main 844 838 -6
diff_main 866 858 -8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/10 up/down: 2/-33) Total: -31 bytes
2008-06-15 05:40:56 +00:00