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 |
|
Mike Frysinger
|
6b160e490d
|
split some rtc funcs out of hwclock and into an rtc header/lib so that the new rtcwake applet as well as hwclock can utilize the same code
|
2008-02-15 02:27:19 +00:00 |
|
Denis Vlasenko
|
d3c042fc60
|
libbb: introduce fputc_printable (from ed)
netstat: print control chars as ^C etc
vi: style fixlet
function old new delta
fputc_printable - 100 +100
unix_do_one 451 487 +36
printLines 258 190 -68
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 136/-68) Total: 68 bytes
|
2007-12-30 01:59:53 +00:00 |
|
Denis Vlasenko
|
16e74b7464
|
another fix for build failure found by randomconfig
|
2007-10-17 09:59:01 +00:00 |
|
Denis Vlasenko
|
aff3a306b8
|
even more fixes from randomconfig runs
|
2007-10-16 23:00:50 +00:00 |
|
Denis Vlasenko
|
d62fd84d4b
|
libbusybox: move (possibly compressed) help stuff into libbusybox.
Makes individual binaries much smaller.
|
2007-10-07 20:46:34 +00:00 |
|
Denis Vlasenko
|
5d61e71c3a
|
introduce safe_poll (fixes a problem in top)
function old new delta
safe_poll - 77 +77
svlogd_main 1470 1466 -4
zcip_main 1530 1524 -6
forkexec 1345 1338 -7
decode_format_string 795 788 -7
collect_blk 474 467 -7
buffer_pread 540 532 -8
tftp 1182 1172 -10
microcom_main 763 749 -14
arpping 441 424 -17
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/9 up/down: 77/-80) Total: -3 bytes
text data bss dec hex filename
770162 1034 10404 781600 bed20 busybox_old
770158 1034 10404 781596 bed1c busybox_unstripped
|
2007-09-27 10:09:59 +00:00 |
|
Denis Vlasenko
|
ab9c44b1a4
|
v[hp]error_msg have 2-3 callsites only -> incorporate there.
|
2007-08-15 20:07:53 +00:00 |
|
Denis Vlasenko
|
dbe6e66d6a
|
trylink: automatically use custom link script if user provides one
vinfo_msg: one user (info_msg), incorporate in it
*: style fixes
|
2007-08-14 16:43:01 +00:00 |
|
Denis Vlasenko
|
21d1014b5b
|
chpasswd: new applet by Alexander Shishkin <virtuoso@slind.org>
|
2007-07-20 21:28:41 +00:00 |
|
Denis Vlasenko
|
4b9b0ced30
|
find: fix build failure on certain configs
(found by Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com>)
|
2007-07-01 17:35:17 +00:00 |
|
Denis Vlasenko
|
dc757aa16c
|
introduce and use bb_basename()
function old new delta
bb_basename - 26 +26
sv_main 1226 1225 -1
passwd_main 1985 1983 -2
showdirs 482 478 -4
sendCgi 1811 1807 -4
make_device 1354 1350 -4
handleIncoming 2443 2439 -4
func_name 82 78 -4
service_name 2292 2285 -7
main 909 901 -8
cmp_main 555 547 -8
test_main 434 422 -12
act 228 216 -12
find_pair 180 164 -16
rmmod_main 298 280 -18
find_pid_by_name 156 134 -22
modprobe_main 1606 1576 -30
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/16 up/down: 26/-156) Total: -130 bytes
text data bss dec hex filename
734933 3028 14400 752361 b7ae9 busybox_old
734801 3028 14400 752229 b7a65 busybox_unstripped
|
2007-06-30 08:04:05 +00:00 |
|
Denis Vlasenko
|
459be35234
|
hwclock: size optimizations
libbb/time.c: new file, introducing monotonic_us()
pscan, traceroute, arping: use it instead of gettimeofday
ping, zcip: TODO
function old new delta
monotonic_us - 89 +89
find_pair 164 180 +16
.rodata 129747 129763 +16
refresh 1144 1152 +8
............
timeout 8 4 -4
static.start 8 4 -4
last 8 4 -4
parse_conf 1303 1284 -19
time_main 1149 1124 -25
gettimeofday_us 39 - -39
arping_main 2042 1969 -73
hwclock_main 594 501 -93
catcher 485 380 -105
traceroute_main 4300 4117 -183
------------------------------------------------------------------------------
(add/remove: 2/1 grow/shrink: 8/11 up/down: 157/-562) Total: -405 bytes
|
2007-06-17 19:09:05 +00:00 |
|
Denis Vlasenko
|
d46e6d1a55
|
fix trivial compile errors found by randomconfig run
|
2007-05-17 12:58:30 +00:00 |
|
Denis Vlasenko
|
a035e9f1a9
|
cryptpw: forgot svn add... how typical of me :(
|
2007-05-08 23:23:35 +00:00 |
|
Denis Vlasenko
|
7e84e539de
|
cryptpw: new applet (a bit less than 3k added)
(by Thomas Lundquist <lists@zelow.no>)
|
2007-05-08 17:52:17 +00:00 |
|
Bernhard Reutner-Fischer
|
7e8a53a335
|
- add libbb function str_tolower to convert a string to lowercase.
- shrink wget a bit
|
2007-04-10 09:37:29 +00:00 |
|
Denis Vlasenko
|
bf295dd5b6
|
[u]mount: extend -t option (Roy Marples <uberlord@gentoo.org>)
|
2007-04-05 21:57:47 +00:00 |
|
Denis Vlasenko
|
29fe7265b8
|
nc: port nc 1.10 to busybox
|
2007-04-05 20:26:28 +00:00 |
|
Denis Vlasenko
|
10457b90db
|
make pidfile writing configurable.
[ui]toa_to_buf: change API. No users yet.
|
2007-03-27 22:01:31 +00:00 |
|
Denis Vlasenko
|
1203c9bf2f
|
next portion of selinux updates: chcon, runcon. From
Yuichi Nakamura <himainu-ynakam@miomio.jp>
KaiGai Kohei <busybox@kaigai.gr.jp>
|
2007-03-11 22:16:02 +00:00 |
|
Denis Vlasenko
|
9adc6ced4f
|
ping6: stop using xgethostbyname2, remove it from libbb.
|
2007-01-22 22:45:27 +00:00 |
|
Denis Vlasenko
|
38f6319421
|
cmdedit is not a 'command' editing anymore, it's just editing (generic),
so rename stuff accordingly.
|
2007-01-22 09:03:07 +00:00 |
|
Denis Vlasenko
|
4a64c33443
|
about.html: update maintainer name
libbb/Kbuild: less needs xregcomp.o
|
2006-12-30 22:03:02 +00:00 |
|
Denis Vlasenko
|
6a5dc5d75a
|
next bunch of fixes for bugs found by randconfig
|
2006-12-30 18:42:29 +00:00 |
|
Denis Vlasenko
|
666da5e2c6
|
merge post-1.3.0 fixes
|
2006-12-26 18:17:42 +00:00 |
|
Denis Vlasenko
|
d686a045c8
|
safe_strtoXX interface proved to be a bit unconvenient.
Remove it, introduce saner bb_strtoXX.
Saved ~350 bytes.
|
2006-11-27 14:43:21 +00:00 |
|
Denis Vlasenko
|
e5667c1cfe
|
Closing bug 730. libbb run_parts is using scandir (a GNUism),
and it is used only by run_parts applet, so move it there.
Also saved ~30 bytes (prolly gcc autoinlining...).
|
2006-11-26 20:13:39 +00:00 |
|
Denis Vlasenko
|
ed836cdc30
|
regularize str -> num convertors
|
2006-11-25 14:44:13 +00:00 |
|
Denis Vlasenko
|
0b35470d9b
|
glibc makedev() is a large inline. Save 700+ bytes by wrapping it
into a function.
|
2006-11-24 14:54:27 +00:00 |
|
Denis Vlasenko
|
2fe7b73d99
|
...and yet another small fix. Ouch...
|
2006-10-26 23:39:04 +00:00 |
|
Denis Vlasenko
|
ddec5af6b0
|
rename functions to more understandable names
|
2006-10-26 23:25:17 +00:00 |
|
Denis Vlasenko
|
f0ed376eda
|
remove bb_printf and the like
|
2006-10-26 23:21:47 +00:00 |
|
Denis Vlasenko
|
ea62077b85
|
add open_read_close() and similar stuff
|
2006-10-14 02:23:43 +00:00 |
|
Denis Vlasenko
|
f6f43df60b
|
ifupdown: stop emitting annoying/misleading error messages.
Patch by Gabriel Somlo <somlo at cmu.edu>
|
2006-10-11 22:16:56 +00:00 |
|
Denis Vlasenko
|
1385899416
|
attempt to regularize atoi mess.
|
2006-10-08 12:49:22 +00:00 |
|
Denis Vlasenko
|
7d219aab70
|
build system overhaul
|
2006-10-05 10:17:08 +00:00 |
|