Denis Vlasenko
|
400d8bb45e
|
less,klogd,syslogd,nc,tcpudp: exit on signal by killing itself, not exit(1)
*: minor shrink
|
2008-02-24 13:36:01 +00:00 |
|
Denis Vlasenko
|
25591c322c
|
libbb: introduce bb_signals and bb_signals_recursive,
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
|
2008-02-16 22:58:56 +00:00 |
|
Bernhard Reutner-Fischer
|
a985d306a1
|
- spelling fixes
|
2008-02-11 11:44:38 +00:00 |
|
Denis Vlasenko
|
7cff01ec2d
|
nc: fix fallout from C99 standard compliance change
|
2008-02-02 16:23:43 +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
|
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
|
828e2a95da
|
nc: minor code shrink
function old new delta
dolisten 731 737 +6
tmtravel 32 21 -11
catch 75 64 -11
oprint 272 229 -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/3 up/down: 6/-65) Total: -59 bytes
text data bss dec hex filename
676698 3340 13936 693974 a96d6 busybox_old
676650 3340 13936 693926 a96a6 busybox_unstripped
|
2007-07-13 12:37:31 +00:00 |
|
Denis Vlasenko
|
5c51a7ca52
|
nc: make connecting to IPv4 from IPv6-enabled hosts easier
(was requiring -s <local addr>)
|
2007-06-05 20:08:11 +00:00 |
|
Denis Vlasenko
|
4b924f3a5c
|
whitespace fixes
|
2007-05-30 00:29:55 +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
|
51742f4bb0
|
style fixes. No code changes
|
2007-04-12 00:32:05 +00:00 |
|
Denis Vlasenko
|
19507f0869
|
nc: code shrinkage, bugfixes. -50 bytes code size
|
2007-04-06 10:41:05 +00:00 |
|
Denis Vlasenko
|
5f42d26865
|
nc: missed exit() in signal handler
|
2007-04-05 20:57:10 +00:00 |
|
Denis Vlasenko
|
29fe7265b8
|
nc: port nc 1.10 to busybox
|
2007-04-05 20:26:28 +00:00 |
|