Denis Vlasenko
|
240a1cfbbe
|
add some missed statics on constant objects.
fix few #ifndef ENABLE_xxx
# size busybox_old busybox_unstripped
text data bss dec hex filename
677152 2920 18208 698280 aa7a8 busybox_old
676420 2920 18208 697548 aa4cc busybox_unstripped
|
2007-04-08 16:07:02 +00:00 |
|
Denis Vlasenko
|
5694d5f8d2
|
adding small script, mostly for documentational purposes
|
2007-04-08 15:12:21 +00:00 |
|
Denis Vlasenko
|
8d9f495d68
|
getopt32: fix llist_t options ordering. llist_rev is not unused.
function old new delta
tar_main 705 695 -10
sort_main 928 918 -10
decode_format_string 886 876 -10
run_parts_main 197 185 -12
ps_main 513 500 -13
wget_main 2764 2750 -14
awk_main 1014 1000 -14
od_main 2886 2866 -20
llist_rev 25 - -25
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/8 up/down: 0/-128) Total: -128 bytes
|
2007-04-08 15:08:42 +00:00 |
|
Denis Vlasenko
|
b04b4357ff
|
find: fix -prune more. Add big comment about it.
|
2007-04-08 11:10:43 +00:00 |
|
Denis Vlasenko
|
bbd695d801
|
find: fix handling of -prune
recursive_actions: uppercase flag constants
|
2007-04-08 10:52:28 +00:00 |
|
Denis Vlasenko
|
ca3484103e
|
busybox.net: micro fix
|
2007-04-07 10:49:02 +00:00 |
|
Denis Vlasenko
|
1ae63fc1bc
|
busybox.net: update "screenshot"
|
2007-04-07 10:46:33 +00:00 |
|
Denis Vlasenko
|
9c146a91d3
|
getopt: use getopt32 for option parsing - inspired by patch by
Mats Erik Andersson <mats.andersson64@comhem.se>
function old new delta
getopt_main 809 810 +1
static.BUFFER 4 - -4
shell 8 4 -4
quote 4 - -4
quiet_output 4 - -4
quiet_errors 4 - -4
long_options_nr 4 - -4
long_options_length 4 - -4
long_options 388 384 -4
alternative 4 - -4
shortopts 15 - -15
normalize 243 220 -23
.rodata 131832 131800 -32
add_longopt 200 - -200
------------------------------------------------------------------------------
(add/remove: 0/9 grow/shrink: 1/4 up/down: 1/-306) Total: -305 bytes
|
2007-04-07 10:25:04 +00:00 |
|
Denis Vlasenko
|
fdf63a30fe
|
docs: "how to add a patch"
|
2007-04-07 09:35:56 +00:00 |
|
Denis Vlasenko
|
540a2a1f3b
|
libiproute: audit callgraph, shortcut error paths into die() functions.
Kill a few statics, made other globals smaller:
oneline is smallint, _SL_ is char
function old new delta
print_tunnel 693 731 +38
print_route 1775 1777 +2
print_addrinfo 1495 1497 +2
ipaddr_list_or_flush 2826 2828 +2
oneline 4 1 -3
_SL_ 4 1 -3
ipaddr_modify 1476 1472 -4
parse_address 124 119 -5
ip_parse_common_args 429 423 -6
on_off 53 46 -7
do_del_ioctl 113 106 -7
do_add_ioctl 120 113 -7
do_show 864 856 -8
iprule_list 157 148 -9
do_iptunnel 310 299 -11
do_add 143 126 -17
get_ctl_fd 95 76 -19
set_address 108 84 -24
ip_main 351 323 -28
static.ifr 32 - -32
parse_args 1992 1949 -43
iproute_list_or_flush 1673 1582 -91
do_iplink 1583 1485 -98
filter 280 - -280
------------------------------------------------------------------------------
(add/remove: 0/2 grow/shrink: 4/18 up/down: 44/-702) Total: -658 bytes
|
2007-04-07 01:14:45 +00:00 |
|
Denis Vlasenko
|
fbd2918f5c
|
udhcp: MAC_BCAST_ADDR and blank_chaddr are in fact constant, move to rodata.
a few global variables reduced to smallints
function old new delta
add_lease 75 227 +152
static.blank_chaddr - 16 +16
MAC_BCAST_ADDR - 6 +6
sockfd 4 8 +4
udhcp_run_script 1153 1155 +2
state 8 5 -3
listen_mode 4 1 -3
perform_release 152 148 -4
fd 8 4 -4
blank_chaddr 16 - -16
udhcpc_main 2518 2497 -21
.rodata 131864 131832 -32
oldest_expired_lease 61 - -61
clear_lease 127 - -127
------------------------------------------------------------------------------
(add/remove: 2/3 grow/shrink: 3/6 up/down: 180/-271) Total: -91 bytes
|
2007-04-07 01:05:47 +00:00 |
|
Denis Vlasenko
|
bb5b01c7c7
|
comm: eliminate statics
|
2007-04-07 00:45:27 +00:00 |
|
Denis Vlasenko
|
04c99ebb4f
|
random small shrinkage and elimination of statics
|
2007-04-07 00:44:31 +00:00 |
|
Denis Vlasenko
|
19507f0869
|
nc: code shrinkage, bugfixes. -50 bytes code size
|
2007-04-06 10:41:05 +00:00 |
|
Denis Vlasenko
|
5a30d59c3d
|
svn add match_fstype.c :(
|
2007-04-05 22:19:43 +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
|
df5bbb938a
|
diff: fix segfault on empty dirs (Peter Korsgaard <peter.korsgaard@barco.com>)
|
2007-04-05 21:29:42 +00:00 |
|
Denis Vlasenko
|
1bb552b1d9
|
libbb: add xunlink()
patch: do not try to delete same file twice
|
2007-04-05 21:25:15 +00:00 |
|
Mike Frysinger
|
9020d850bf
|
less intrusive export of FLTFLAGS
|
2007-04-05 21:14:29 +00:00 |
|
Mike Frysinger
|
c7b10dc037
|
set default FLTFLAGS for a fatty stack
|
2007-04-05 21:10:59 +00:00 |
|
Denis Vlasenko
|
2f7b923f5c
|
find: improve usage text (Natanael Copa <natanael.copa@gmail.com>)
|
2007-04-05 21:01:06 +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 |
|
Bernhard Reutner-Fischer
|
00c2c4868a
|
- clean up addgroup, fix adding users to existing groups and make it optional (Tito)
|
2007-04-05 13:16:39 +00:00 |
|
Bernhard Reutner-Fischer
|
45aebfd32d
|
- bail out if either file does not exist
Avoids filling my scrollback-buffer with superfluous information ;)
|
2007-04-05 12:27:12 +00:00 |
|
Bernhard Reutner-Fischer
|
2e75dcc80d
|
- add -s|--spider which only checks if the file exists but does not download it's content.
Closes #1291
|
2007-04-05 10:31:47 +00:00 |
|
Bernhard Reutner-Fischer
|
6d79dd66cb
|
- size and prune were mixed up
|
2007-04-05 09:40:12 +00:00 |
|
Bernhard Reutner-Fischer
|
bdd253e450
|
- fix segfault in reset_ino_dev_hashtable() when *hashtable was null.
Seen in the testsuite for du -l .../testsuite on exit with CLEAN_UP enabled.
|
2007-04-05 09:21:24 +00:00 |
|
Denis Vlasenko
|
7d6c9296e7
|
find: missed 'ststic' on const data
|
2007-04-05 00:35:43 +00:00 |
|
Denis Vlasenko
|
56fce00fc7
|
find: un-DESKTOPize (Kai Schwenzfeier <niteblade@gmx.net>)
find: -group, -depth (Natanael Copa <natanael.copa@gmail.com>)
find: make constant array static, declare PARM_xx constants with enum
|
2007-04-04 23:41:35 +00:00 |
|
Bernhard Reutner-Fischer
|
febe3c4211
|
- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"
|
2007-04-04 20:52:03 +00:00 |
|
Bernhard Reutner-Fischer
|
d9c2d5fe4f
|
- minor shrinkage
text data bss dec hex filename
1431 0 4 1435 59b tail.o.orig
1396 0 0 1396 574 tail.o
|
2007-04-04 20:29:15 +00:00 |
|
Bernhard Reutner-Fischer
|
10aed96f14
|
- remove debugging output. sorry..
|
2007-04-04 17:58:39 +00:00 |
|
Bernhard Reutner-Fischer
|
24efe4f15f
|
- note cosmetic glitch in tail
|
2007-04-04 17:57:55 +00:00 |
|
Denis Vlasenko
|
1ca332b367
|
reword comment
|
2007-04-04 17:49:47 +00:00 |
|
Bernhard Reutner-Fischer
|
2a47dea263
|
- remove bss users. Shrinkage while at it. See XXX for further, pre-existing bugs
text data bss dec hex filename
1969 0 32 2001 7d1 dd.o.oorig
1941 0 0 1941 795 dd.o
|
2007-04-04 14:01:23 +00:00 |
|
Bernhard Reutner-Fischer
|
3a60244ae9
|
- remove some bss users.
text data bss dec hex filename
6220 8 14 6242 1862 stty.o.oorig
6219 8 0 6227 1853 stty.o
|
2007-04-04 13:59:49 +00:00 |
|
Bernhard Reutner-Fischer
|
0e6ab01c5a
|
- remove superfluous bss user (flags) and manually unswitch some areas:
text data bss dec hex filename
4517 0 34 4551 11c7 stat.o.oorig
4300 0 30 4330 10ea stat.o
|
2007-04-04 13:58:33 +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 |
|
Denis Vlasenko
|
992e05b6f0
|
udpsvd: more work on it. works in limited testing.
|
2007-04-03 01:13:04 +00:00 |
|
Bernhard Reutner-Fischer
|
cea0a8bccb
|
- use bb_error_msg
|
2007-04-02 17:01:22 +00:00 |
|
Bernhard Reutner-Fischer
|
8025afad8a
|
- use xregcomp. Untested. vda, isn't there a regfree missing here?
text data bss dec hex filename
2522 0 0 2522 9da expr.o.r18305
2478 0 0 2478 9ae expr.o
|
2007-04-02 16:54:41 +00:00 |
|
Bernhard Reutner-Fischer
|
3c5929a53b
|
- remove some unneeded forward declarations. No obj-code changes.
|
2007-04-02 16:41:24 +00:00 |
|
Bernhard Reutner-Fischer
|
adb01b1583
|
- remove args from bss, minor misc shrinkage while at it.
text data bss dec hex filename
2577 0 4 2581 a15 expr.o
2522 0 0 2522 9da expr.o
|
2007-04-02 16:38:13 +00:00 |
|
Denis Vlasenko
|
729bd9e0b0
|
test: comment out unused code
udpsvd: fake it compile
tcpsvd: more optimal memorizing of IP's for -C
|
2007-04-02 12:37:28 +00:00 |
|
Denis Vlasenko
|
b05a939bcc
|
udpsvd: forgotten 'svn add'
|
2007-04-02 06:17:45 +00:00 |
|
Denis Vlasenko
|
60fadaca28
|
udpsvd: next part of ipsvd applets (not working yet)
|
2007-04-01 19:10:36 +00:00 |
|