Denis Vlasenko
|
f545be083d
|
reviving libbusybox, adding CONFIG_INDIVIDUAL part 4
|
2007-10-07 17:06:26 +00:00 |
|
Denis Vlasenko
|
def8898596
|
reviving libbusybox, adding CONFIG_INDIVIDUAL part 3
|
2007-10-07 17:06:01 +00:00 |
|
Denis Vlasenko
|
76a6b236a9
|
reviving libbusybox, adding CONFIG_INDIVIDUAL part 2
|
2007-10-07 17:05:42 +00:00 |
|
Denis Vlasenko
|
3240474c23
|
reviving libbusybox, adding CONFIG_INDIVIDUAL part 1
|
2007-10-07 17:05:22 +00:00 |
|
Bernhard Reutner-Fischer
|
e747f62ed6
|
- mark TODO: use index_in_str_array()
|
2007-10-06 20:47:53 +00:00 |
|
Denis Vlasenko
|
339936be00
|
chpst: fix whitespace damage
svlogd: fix bug (two different "line" variables); stop using data/bss
function old new delta
processorstop 419 432 +13
rotate 514 525 +11
buffer_pwrite 493 499 +6
sig_term_handler 68 70 +2
sig_hangup_handler 34 36 +2
sig_alarm_handler 34 36 +2
rmoldest 305 307 +2
processorstart 401 403 +2
logdir_close 188 190 +2
tmaxflag 1 - -1
rotateasap 1 - -1
repl 1 - -1
reopenasap 1 - -1
linecomplete 1 - -1
exitasap 1 - -1
wstat 4 - -4
verbose 9 5 -4
replace 4 - -4
nearest_rotate 4 - -4
linemax 4 - -4
linelen 4 - -4
line 4 - -4
fndir 4 - -4
fl_flag_0 4 - -4
fdwdir 4 - -4
dirn 4 - -4
dir 4 - -4
blocked_sigset 4 - -4
sig_child_handler 248 239 -9
logdirs_reopen 1263 1240 -23
buffer_pread 532 473 -59
svlogd_main 1466 1367 -99
------------------------------------------------------------------------------
(add/remove: 0/18 grow/shrink: 9/5 up/down: 42/-248) Total: -206 bytes
text data bss dec hex filename
770916 989 9496 781401 bec59 busybox_old
770768 980 9448 781196 beb8c busybox_unstripped
|
2007-10-05 22:11:06 +00:00 |
|
Denis Vlasenko
|
23e3e25df6
|
chpst: stop using data/bss
function old new delta
chpst_main 1066 1089 +23
set_user 4 - -4
root 4 - -4
nicelvl 4 - -4
limitt 4 - -4
limits 196 192 -4
limitr 4 - -4
limitp 4 - -4
limito 4 - -4
limitl 4 - -4
limitf 4 - -4
limitd 4 - -4
limitc 4 - -4
limita 4 - -4
env_user 4 - -4
env_dir 4 - -4
------------------------------------------------------------------------------
(add/remove: 0/14 grow/shrink: 1/1 up/down: 23/-60) Total: -37 bytes
text data bss dec hex filename
770892 1029 9520 781441 bec81 busybox_old
770916 989 9496 781401 bec59 busybox_unstripped
|
2007-10-05 21:23:49 +00:00 |
|
Denis Vlasenko
|
91e5203205
|
stat: code shrink; stop using bss; stop using strncat incorrectly
function old new delta
printfs - 28 +28
strcatc - 26 +26
human_time 41 44 +3
print_it 229 219 -10
buf 30 - -30
print_statfs 420 358 -62
print_stat 1089 921 -168
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 1/3 up/down: 57/-270) Total: -213 bytes
text data bss dec hex filename
771105 1029 9552 781686 bed76 busybox_old
770892 1029 9520 781441 bec81 busybox_unstripped
|
2007-10-05 20:31:23 +00:00 |
|
Denis Vlasenko
|
91e80c2be7
|
delete now unused check_header_gzip.c
sum: do not use uintmax needlessly
|
2007-10-05 20:29:31 +00:00 |
|
Denis Vlasenko
|
226002ea74
|
tail: sizeof(buf) is sizeof(char*)! must be BUFSIZ
|
2007-10-05 19:17:16 +00:00 |
|
Denis Vlasenko
|
d21f596ddb
|
add tests for gunzip
|
2007-10-05 15:27:03 +00:00 |
|
Denis Vlasenko
|
5dd8a03665
|
gunzip: support concatenated gz files.
text data bss dec hex filename
770988 1029 9552 781569 bed01 busybox.t0/busybox
771105 1029 9552 781686 bed76 busybox.t3/busybox
|
2007-10-05 15:26:08 +00:00 |
|
Denis Vlasenko
|
368a12efc2
|
tail: work correctly on /proc files (Kazuo TAKADA <kztakada@sm.sony.co.jp>)
|
2007-10-02 10:17:56 +00:00 |
|
Denis Vlasenko
|
ebeaea04dc
|
logger: fix a problem of losing all argv except first
|
2007-10-02 09:57:41 +00:00 |
|
Bernhard Reutner-Fischer
|
d24d5c84c2
|
- ditch 2 bytes
|
2007-10-01 18:04:42 +00:00 |
|
Denis Vlasenko
|
feb7ae7f01
|
printf("%s\n") -> puts()
|
2007-10-01 12:05:12 +00:00 |
|
Denis Vlasenko
|
0c97c9d437
|
'simple' error message functions by Loic Grenie <loic.grenie@gmail.com>.
263 bytes saved.
|
2007-10-01 11:58:38 +00:00 |
|
Denis Vlasenko
|
d65ea39ffc
|
hush: fix glob() abuse. Code was making unfounded assumptions how
glob() works, and it broke horribly on specific uclibc config.
|
2007-10-01 10:02:25 +00:00 |
|
Denis Vlasenko
|
ff0976248a
|
hush: int->smallint for flag vars; make some names more "greppable"
|
2007-10-01 10:00:45 +00:00 |
|
Denis Vlasenko
|
8412d7959a
|
hush: feeble attempt at making it more NOMMU-friendly
|
2007-10-01 09:59:47 +00:00 |
|
Denis Vlasenko
|
a0898170d8
|
hush: stop doing manual acounting of open fd's, kernel can do it for us
|
2007-10-01 09:59:01 +00:00 |
|
Denis Vlasenko
|
96e1b38586
|
introduce and use close_on_exec_on(fd). -50 bytes.
|
2007-09-30 23:50:48 +00:00 |
|
Denis Vlasenko
|
deabacdf91
|
move udhcp_{client/server}_config to common_bufsiz1
udhcp_run_script 1108 1151 +43
init_packet 209 210 +1
udhcpc_main 2395 2393 -2
udhcp_client_config 56 - -56
udhcp_server_config 88 - -88
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 2/1 up/down: 44/-146) Total: -102 bytes
text data bss dec hex filename
771326 1029 9696 782051 beee3 busybox_old
771383 1029 9552 781964 bee8c busybox_unstripped
|
2007-09-30 17:55:43 +00:00 |
|
Denis Vlasenko
|
d7b3350eb3
|
dhcpreplay: code shrink, -40 bytes
|
2007-09-30 17:54:10 +00:00 |
|
Denis Vlasenko
|
5fb09656ca
|
fixlet to pgrep/pkill
|
2007-09-30 16:36:02 +00:00 |
|
Denis Vlasenko
|
a4f4de9b7e
|
print_signames_and_exit -> print_signames (because of "ash calls kill_main")
|
2007-09-30 16:32:01 +00:00 |
|
Denis Vlasenko
|
605b20e277
|
replace printf with fputs where appropriate
|
2007-09-30 16:22:36 +00:00 |
|
Denis Vlasenko
|
1eecaf26b0
|
libiproute: add missing break's
|
2007-09-30 16:04:21 +00:00 |
|
Denis Vlasenko
|
e03c77fe15
|
announce 1.7.2 on the website
|
2007-09-30 00:06:42 +00:00 |
|
Denis Vlasenko
|
f60d62638b
|
small code shrink
|
2007-09-29 23:26:52 +00:00 |
|
Denis Vlasenko
|
64e619c0c8
|
build system: pass EXTRA_LDFLAGS to final link stage
|
2007-09-29 22:52:25 +00:00 |
|
Denis Vlasenko
|
304a97a1ec
|
trivial typo fix
|
2007-09-29 22:49:26 +00:00 |
|
Denis Vlasenko
|
72e1c89d97
|
pgrep,pkill: new applets by Loic Grenie <loic.grenie@gmail.com>
|
2007-09-29 22:26:01 +00:00 |
|
Denis Vlasenko
|
2450e4ba44
|
xrealloc_getcwd_or_warn: smaller cod and less wasted RAM at run time
|
2007-09-29 19:19:55 +00:00 |
|
Denis Vlasenko
|
1ebd0a6d91
|
remove if() which is always true
|
2007-09-29 18:27:14 +00:00 |
|
Denis Vlasenko
|
66bbfbd581
|
bunzip2: trim verbose messages
text data bss dec hex filename
770752 1029 9696 781477 beca5 busybox_old
770691 1029 9696 781416 bec68 busybox_unstripped
|
2007-09-28 23:45:56 +00:00 |
|
Denis Vlasenko
|
3d2a9217a7
|
httpd: trivial simplification
|
2007-09-28 22:35:29 +00:00 |
|
Denis Vlasenko
|
ab8c9378c9
|
more "if (p) free(p)" fixes; fix a typo in comment
|
2007-09-28 22:13:55 +00:00 |
|
Denis Vlasenko
|
6081868ee3
|
fix "if (p) free(p)" constructs
|
2007-09-28 22:07:23 +00:00 |
|
Denis Vlasenko
|
e918e155ed
|
remove stray semicolon
|
2007-09-28 21:56:36 +00:00 |
|
Denis Vlasenko
|
0afdfdf649
|
hdparm: paranoia-induced fix against theoretical div-by-0 case
|
2007-09-28 13:41:41 +00:00 |
|
Denis Vlasenko
|
920c52a5c8
|
hdparm: more robust (re overflows) code. +38 bytes.
|
2007-09-28 13:38:08 +00:00 |
|
Denis Vlasenko
|
a0ad43b80b
|
trivial fix in setfiles. spotted by Yuichi Nakamura <ynakam@hitachisoft.jp>
|
2007-09-28 11:37:38 +00:00 |
|
Denis Vlasenko
|
a7bc9ac8f8
|
hdparm: reduce possibility of numeric overflow in -T.
do_time 386 410 +24
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 24/0) Total: 24 bytes
|
2007-09-28 11:21:47 +00:00 |
|
Denis Vlasenko
|
b925605441
|
assorted static vars removal
function old new delta
tcpudpsvd_main 1829 1839 +10
update_status 567 569 +2
sigterm 1 - -1
.........
dhcprelay_signal_handler 8 - -8
nfs_strerror 60 49 -11
singlemount 4579 4564 -15
static.p 16 - -16
svstatus 20 - -20
dhcprelay_xid_list 32 - -32
runsv_main 1785 1746 -39
static.buf 74 28 -46
svd 56 - -56
dhcprelay_main 1141 1080 -61
------------------------------------------------------------------------------
(add/remove: 0/20 grow/shrink: 2/10 up/down: 12/-386) Total: -374 bytes
|
2007-09-28 10:29:17 +00:00 |
|
Denis Vlasenko
|
c3122bca53
|
hdparm: simplify timing measurement (it wa the last last user
of setitimer in the tree).
static.thousand 16 - -16
read_big_block 81 46 -35
getitimer 41 - -41
setitimer 47 - -47
__GI_setitimer 47 - -47
do_time 480 386 -94
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 0/2 up/down: 0/-280) Total: -280 bytes
M miscutils/hdparm.c
|
2007-09-28 10:28:03 +00:00 |
|
Denis Vlasenko
|
0d3c6afc93
|
hdparm: get rid of static variables
process_dev 5309 5311 +2
unregister_hwif 1 - -1
...........
Xreadahead 4 - -4
seek_to_zero 25 17 -8
hdparm_main 1242 1227 -15
do_time 547 480 -67
------------------------------------------------------------------------------
(add/remove: 0/83 grow/shrink: 1/3 up/down: 2/-248) Total: -246 bytes
|
2007-09-28 10:25:32 +00:00 |
|
Denis Vlasenko
|
8607677529
|
libbb: make const_int_0 reside in rodata
|
2007-09-27 20:49:57 +00:00 |
|
Denis Vlasenko
|
1d31f0f380
|
libbb: align bb_common_bufsiz1 to "long long"
|
2007-09-27 20:46:08 +00:00 |
|
Denis Vlasenko
|
78e2d4e361
|
less: make 'f' page forward
|
2007-09-27 17:11:48 +00:00 |
|