Denis Vlasenko
018bee6afb
mdev: support for serializing hotplug
...
function old new delta
mdev_main 503 647 +144
2008-07-15 22:33:13 +00:00
Denis Vlasenko
97faf531c8
sleep: make fractional seconds separately selectable in .config
2008-07-15 22:01:49 +00:00
Denis Vlasenko
5e476bab9c
libbb: document plans to speed up line-based input
2008-07-15 21:29:44 +00:00
Denis Vlasenko
e559e0a757
libbb: unified config parser (By Vladimir Dronnikov)
...
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-15 21:09:30 +00:00
Denis Vlasenko
0ed090e184
sendmail: do not ignore CC; accept to: and cc: case-insensitively.
...
+20 bytes.
2008-07-15 20:56:23 +00:00
Denis Vlasenko
2132e02213
libbb: experimental faster string reading routines.
2008-07-15 10:33:12 +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
09ce45fd10
insmod: users report that "|| defined(__powerpc__)" is missing
2008-07-14 21:29:35 +00:00
Denis Vlasenko
757361f9f5
hush: fix "... pattern) cmd;; esac" case
2008-07-14 08:26:47 +00:00
Denis Vlasenko
395ae45216
hush: delete unused field in struct child.
...
reinstate needed check for invalid syntax.
document command parsing in hush_doc.txt.
2008-07-14 06:29:38 +00:00
Denis Vlasenko
17f02e79f4
hush: add case statement support. It is incomplete and disabled for now.
...
costs ~300 bytes when enabled.
2008-07-14 04:32:29 +00:00
Denis Vlasenko
3177ba0852
ash: small code shrink
2008-07-13 20:39:23 +00:00
Denis Vlasenko
ad6d6ffcdc
libbb: shrink print_login_issue (by Vladimir Dronnikov)
...
function old new delta
print_login_issue 469 435 -34
2008-07-12 23:47:24 +00:00
Denis Vlasenko
52ec4b98d5
whitespace fixes
2008-07-12 23:02:43 +00:00
Denis Vlasenko
a8374a1916
whitespace fixing script
2008-07-12 22:48:58 +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
a87045ce37
mdev: check for "/block/" substring for block dev detection
...
function old new delta
make_device 1294 1269 -25
2008-07-12 10:28:41 +00:00
Denis Vlasenko
d9860487e0
mdev: if device was moved at creation, at removal coreectly remove
...
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-12 10:23:16 +00:00
Denis Vlasenko
6b7971805c
fuser: a bit of safety in scanf
2008-07-12 09:32:38 +00:00
Denis Vlasenko
a46dd89e94
cpio: internalize archive_xread_all_eof. add a few paranoia checks
...
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-12 09:20:44 +00:00
Denis Vlasenko
39acf45335
switch_root: shrink
...
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-11 23:44:50 +00:00
Denis Vlasenko
e7067e38ea
ash: fix segfault in "command -v"
2008-07-11 23:09:34 +00:00
Denis Vlasenko
ee1b3b1042
cpio: on unpack, limit filename length to 8k; shorten comment a bit
2008-07-11 22:20:59 +00:00
Denis Vlasenko
e18d21dda4
Announce 1.11.1
2008-07-11 22:11:50 +00:00
Denis Vlasenko
29ec0b94a4
cpio: testsuite for http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466771
...
which was fixed in proevious commit
2008-07-11 21:43:11 +00:00
Denis Vlasenko
2b407b12be
cpio: support some long options; document GNU options
2008-07-11 21:42:12 +00:00
Denis Vlasenko
abe49fa54f
testsuite: uniformly use $ECHO with -n -e
2008-07-11 21:41:14 +00:00
Denis Vlasenko
94884eb486
time: don't segfault with no arguments
2008-07-11 15:05:51 +00:00
Denis Vlasenko
0e52541917
taskset: fix some careless code in both fancy and non-fancy cases.
...
-5 bytes for fancy, +5 for non-fancy
2008-07-11 13:57:08 +00:00
Denis Vlasenko
88643a86d0
build system: re-add mistakenly deleted script
2008-07-11 10:21:29 +00:00
Denis Vlasenko
ff814f821a
website: announce updated HOWTO
2008-07-11 09:55:58 +00:00
Denis Vlasenko
86090e2599
fix compile failures resulting from last few commits
2008-07-11 08:23:52 +00:00
Denis Vlasenko
3e8fd18037
fix typo in config help text
2008-07-10 23:42:36 +00:00
Denis Vlasenko
0381d422d9
dpkg_deb: slight code shrink
...
ar: reuse existing ar unpacking code
get_header_tar: handle autodetection for tiny .tar.gz files too
unarchive.h: do not include CONFIGed out things
function old new delta
get_header_tar 1521 1534 +13
dpkg_deb_main 400 380 -20
ar_main 260 196 -64
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 13/-84) Total: -71 bytes
2008-07-10 23:06:00 +00:00
Denis Vlasenko
b6052724ff
open_transformer: do not return fd, it does not change
...
libbb: adopt zipped read from modprobe-small
function old new delta
getoptscmd 708 713 +5
qgravechar 106 109 +3
huft_build 1165 1168 +3
tr_main 474 472 -2
open_transformer 91 89 -2
evalvar 1376 1374 -2
rpm_main 1691 1688 -3
qrealloc 36 33 -3
get_header_tar_lzma 55 52 -3
get_header_tar_gz 100 97 -3
get_header_tar_bz2 55 52 -3
get_header_tar_Z 89 86 -3
find_main 418 406 -12
prepare 302 283 -19
xmalloc_open_zipped_read_close 161 135 -26
xmalloc_read 248 199 -49
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/13 up/down: 11/-130) Total: -119 bytes
2008-07-10 17:43:01 +00:00
Denis Vlasenko
0e2c93fc0b
modprobe-small: make depmod compatible with kernel build.
...
three last commits' sizes combined:
function old new delta
find_alias 218 612 +394
load_dep_bb - 310 +310
modprobe_main 289 380 +91
copy_stringbuf - 40 +40
process_module 637 655 +18
reset_stringbuf - 15 +15
parse_module 333 334 +1
append 84 85 +1
fileAction 832 819 -13
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 5/1 up/down: 870/-13) Total: 857 bytes
2008-07-10 14:16:11 +00:00
Denis Vlasenko
7f950a93ff
modprobe-small: add depfile creation
2008-07-10 14:14:45 +00:00
Denis Vlasenko
784369987f
modprobe-small: add depfile loading
2008-07-10 14:14:20 +00:00
Denis Vlasenko
7621ac20f2
website: add 'Laptop Computers' to sponsors page
2008-07-10 08:55:40 +00:00
Denis Vlasenko
4131d855a1
whitespace fix
2008-07-09 22:04:37 +00:00
Denis Vlasenko
fc5e80651f
build system: libbusybox cannot be static
2008-07-09 21:24:18 +00:00
Denis Vlasenko
9764d6908a
fdisk: fix compile failure
2008-07-09 21:20:50 +00:00
Denis Vlasenko
6bdff08e6c
hush: compile fixes for !LOOPS case
2008-07-09 20:14:53 +00:00
Denis Vlasenko
7c053262af
buld system: suppress a warning
2008-07-09 20:07:59 +00:00
Denis Vlasenko
d38d38eed3
last: fix ctime(ptr) ptr type mismatch
2008-07-09 19:48:43 +00:00
Denis Vlasenko
96c45b0e0b
libbb/mtab: fix xrealloc_vector fallout
2008-07-09 19:44:08 +00:00