Denys Vlasenko
|
650a7011a8
|
ntpd: trivial -2 byte code optimization
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-26 07:11:12 +01:00 |
|
Denys Vlasenko
|
b2e5fc35eb
|
ntpd: and real handling for -N, show usage w/o options; trim text
function old new delta
ntp_init 317 348 +31
bb_msg_you_must_be_root - 17 +17
xsocket 66 76 +10
changepath 195 194 -1
bb_msg_perm_denied_are_you_root 35 34 -1
send_tree 355 353 -2
count_lines 74 72 -2
must_be_root 17 - -17
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 2/4 up/down: 58/-23) Total: 35 bytes
text data bss dec hexfilename
832873 441 7548 840862 cd49ebusybox_old
832839 441 7548 840828 cd47cbusybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-25 14:52:47 +01:00 |
|
Denys Vlasenko
|
b1278a38bc
|
ntpd: locally bind every peer socket. +22 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-24 16:03:47 +01:00 |
|
Denys Vlasenko
|
9cc60d7e6b
|
ntpd: fix vda's breakage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-24 14:43:20 +01:00 |
|
Denys Vlasenko
|
363e89b1ee
|
ntpd: use MSG_DONTWAIT; better readability
function old new delta
gettime_fp - 39 +39
ntpd_main 3214 3199 -15
gettime 47 - -47
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 0/1 up/down: 39/-62) Total: -23 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-24 14:04:15 +01:00 |
|
Denys Vlasenko
|
ca6c7e42f9
|
ntp: simplifications; libbb: simpler resolution of numeric hostnames
function old new delta
str2sockaddr 405 567 +162
ntp_init 310 317 +7
scale_interval 58 59 +1
error_interval 22 23 +1
ntpd_main 3257 3214 -43
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/1 up/down: 171/-43) Total: 128 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-24 07:07:42 +01:00 |
|
Denys Vlasenko
|
8d580c72f4
|
ntpd: add -q option. By Adam Tkac.
function old new delta
settime 347 375 +28
packed_usage 26681 26693 +12
ntpd_main 3282 3251 -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 40/-31) Total: 9 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-23 16:27:16 +01:00 |
|
Adam Tkac
|
b1585064fd
|
ntpd: new applet by Adam Tkac. +5k.
Signed-off-by: Adam Tkac <vonsch@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
|
2009-11-22 03:43:55 +01:00 |
|