Denis Vlasenko
|
fb0eba706c
|
libbb: introduce and use safe_waitpid (loops in EINTR)
*: use more approproate (shorter) versions of wait()
function old new delta
safe_waitpid - 48 +48
wait_any_nohang - 17 +17
send_tree 365 369 +4
processorstop 432 435 +3
text_yank 110 108 -2
make_human_readable_str 202 200 -2
crond_main 1368 1366 -2
handle_sigchld 49 43 -6
reapchild 166 159 -7
custom 260 250 -10
checkscript 191 177 -14
wait_nohang 17 - -17
wait_pid 43 - -43
------------------------------------------------------------------------------
(add/remove: 2/2 grow/shrink: 2/7 up/down: 72/-103) Total: -31 bytes
|
2008-01-02 19:55:04 +00:00 |
|
Denis Vlasenko
|
3f5fdc7572
|
remove trailing whitespace
|
2007-10-14 04:55:59 +00:00 |
|
Denis Vlasenko
|
9b49a5ed85
|
add -fvisibility=hidden to CC flags, mark XXX_main functions
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
|
2007-10-11 10:05:36 +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
|
f87f495e65
|
Update defconfig; fix comments
|
2007-08-24 10:27:41 +00:00 |
|
Denis Vlasenko
|
fe7cd642b0
|
don't pass argc in getopt32, it's superfluous
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes
text data bss dec hex filename
773469 1058 11092 785619 bfcd3 busybox_old
772644 1058 11092 784794 bf99a busybox_unstripped
|
2007-08-18 15:32:12 +00:00 |
|
Denis Vlasenko
|
a27a11bb2c
|
introduce and use xdup2(int, int)
stop checking whether setsockopt_reuseaddr(int fd) was successful (it always is)
remove second parameter (sockllen) from xmalloc_sockaddr2xxxxx functions
sockaddr2str 142 156 +14
collect_blk 467 474 +7
xdup2 28 33 +5
singlemount 4456 4454 -2
print_host 214 212 -2
nslookup_main 139 137 -2
ftpgetput_main 414 412 -2
udhcpd_main 1258 1255 -3
udhcpc_main 2405 2402 -3
traceroute_main 4125 4122 -3
nc_main 1072 1069 -3
buffer_fill_and_print 76 73 -3
xmalloc_sockaddr2hostonly_noport 18 14 -4
xmalloc_sockaddr2host_noport 18 14 -4
xmalloc_sockaddr2host 15 11 -4
xmalloc_sockaddr2dotted_noport 18 14 -4
xmalloc_sockaddr2dotted 18 14 -4
wget_main 2618 2614 -4
ping_main 393 389 -4
ip_port_str 120 115 -5
dhcprelay_main 1146 1141 -5
dnsd_main 1531 1525 -6
passwd_main 1110 1102 -8
udhcp_kernel_packet 206 197 -9
udhcp_listen_socket 154 144 -10
getty_main 2576 2566 -10
setup 655 640 -15
xmove_fd 51 34 -17
dolisten 759 742 -17
tcpudpsvd_main 1866 1836 -30
startservice 339 299 -40
|
2007-08-18 14:16:39 +00:00 |
|
Denis Vlasenko
|
091965768d
|
libbb: nuke BB_GETOPT_ERROR, always die if there are mutually exclusive options
find_pair 164 180 +16
passwd_main 1222 1230 +8
display_speed 91 96 +5
msh_main 1335 1339 +4
qrealloc 38 36 -2
refresh 1190 1182 -8
cut_main 543 532 -11
sendCgi 1807 1794 -13
getopt32 1063 1045 -18
arith 2077 2030 -47
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/6 up/down: 33/-99) Total: -66 bytes
text data bss dec hex filename
781548 1168 11900 794616 c1ff8 busybox_old
781452 1168 11900 794520 c1f98 busybox_unstripped
|
2007-07-21 13:27:44 +00:00 |
|
Denis Vlasenko
|
b6adbf1be2
|
usage.c: remove reference to busybox.h
*: s/include "busybox.h"/include "libbb.h"
|
2007-05-26 19:00:18 +00:00 |
|
Denis Vlasenko
|
beaca811e4
|
fix typo in comment
|
2007-04-13 16:32:26 +00:00 |
|
Denis Vlasenko
|
29fe7265b8
|
nc: port nc 1.10 to busybox
|
2007-04-05 20:26:28 +00:00 |
|
Denis Vlasenko
|
1ca332b367
|
reword comment
|
2007-04-04 17:49:47 +00:00 |
|
Denis Vlasenko
|
794687947f
|
Add/improve comment, shorten some usage texts. No code changes.
|
2007-04-04 11:02:55 +00:00 |
|
Denis Vlasenko
|
64a15124e7
|
ipsvd: use IP:PORT syntax for environment vars. Pros:
1. it's saner (matches internal libc sockaddr abstraction).
2. it's smaller.
Cons: not compatible with smarden's ipsvd.
Fix IPv6 define typos.
Stop interpreting options in prog's args.
Code size -162 bytes.
|
2007-04-04 10:16:15 +00:00 |
|
Denis Vlasenko
|
02fd66885c
|
ipsvd: make udpsvd work similar to tcpsvd (multiple parallel
children for several streams of udp packets tested to work)
code size: -509 bytes
|
2007-04-03 23:23:10 +00:00 |
|
Denis Vlasenko
|
b933ac1e25
|
ipsvd: fixes and improvements after testing
|
2007-04-03 12:09:46 +00:00 |
|