Bernhard Reutner-Fischer
|
620e57b421
|
- forgot to include ip_common.h
|
2007-01-22 17:42:37 +00:00 |
|
Denis Vlasenko
|
3a34d0c08a
|
random small size optimizations
|
2007-01-12 22:10:34 +00:00 |
|
Denis Vlasenko
|
f7996f3b70
|
Trailing whitespace removal over entire tree
|
2007-01-11 17:20:00 +00:00 |
|
Denis Vlasenko
|
ace35eeb88
|
Remove networking/libiproute/linux/pkt_sched.h
(and networking/libiproute/linux/ since it become empty).
Style fixes.
|
2007-01-02 16:32:16 +00:00 |
|
Denis Vlasenko
|
e27f15615f
|
msh: double "static char line[LINELIM]" etc deleted.
massive amounts of assignments-in-ifs deleted
(some of which were VERY nasty)
|
2007-01-01 06:00:38 +00:00 |
|
Denis Vlasenko
|
d1a302b52f
|
rt_names: stop allocating 5k in rwdata
objsizes: don't show build machinery's object modules
|
2006-12-31 20:40:20 +00:00 |
|
Denis Vlasenko
|
c519320000
|
iproute: remove double get_hz optimization
|
2006-12-31 19:07:23 +00:00 |
|
Denis Vlasenko
|
13463af29f
|
remove commented out #includes etc
move get_hz to the only caller
|
2006-12-31 18:58:32 +00:00 |
|
Denis Vlasenko
|
98ee06d3d4
|
stop using __u32 etc. uint32_t is there for a reason
|
2006-12-31 18:57:37 +00:00 |
|
Denis Vlasenko
|
bf0a201008
|
style fixes
last xcalloc replaced by xzalloc
|
2006-12-26 10:42:51 +00:00 |
|
Denis Vlasenko
|
1dc1b37b33
|
use xbind, xconnect where appropriate.
small edits to arping
|
2006-12-23 02:48:44 +00:00 |
|
Denis Vlasenko
|
bf66fbc8e2
|
introduce LONE_CHAR (optimized strcmp with one-char string)
|
2006-12-21 13:23:14 +00:00 |
|
Denis Vlasenko
|
83e5d6f772
|
A bunch of defined(__GLIBC__) added. static-linking warning expanded
|
2006-12-18 21:49:06 +00:00 |
|
Denis Vlasenko
|
9f739445cd
|
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
|
2006-12-16 23:49:13 +00:00 |
|
Denis Vlasenko
|
cda6c636ca
|
re-applying first post-1.3.x change
version change to 1.4.0.svn
|
2006-12-15 00:59:35 +00:00 |
|
Denis Vlasenko
|
44b2ea786e
|
back out last change - need to make busybox-1_3-stable branch first
|
2006-12-15 00:02:30 +00:00 |
|
Bernhard Reutner-Fischer
|
728534b3cb
|
- table support for ip route
|
2006-12-14 15:41:29 +00:00 |
|
Bernhard Reutner-Fischer
|
1819eee436
|
- Improve wording in error message.
|
2006-12-07 12:18:36 +00:00 |
|
Bernhard Reutner-Fischer
|
bb59f02218
|
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
|
2006-12-04 15:57:17 +00:00 |
|
Denis Vlasenko
|
229b3d2072
|
do not overflow ifr_name. maybe it was safe in some places,
but not everywhere. err to the safe side.
|
2006-11-27 23:44:57 +00:00 |
|
Denis Vlasenko
|
7ca3921e5e
|
bb_INET_default[] is really just a const "default",
nothing INET-specific
|
2006-11-21 20:34:21 +00:00 |
|
Bernhard Reutner-Fischer
|
921f5df25f
|
- add 'ip rule' support. First take..
text data bss dec hex filename
2999 0 0 2999 bb7 networking/libiproute/iprule.o
|
2006-11-21 15:36:08 +00:00 |
|
Denis Vlasenko
|
a7189f01a4
|
add -Wundef, fix uncovered bugs
|
2006-11-17 20:29:00 +00:00 |
|
Denis Vlasenko
|
5af906e7c8
|
rename: compare_string_array -> index_in_str_array
introduce index_in_substr_array and use it in
iproute2
|
2006-11-05 18:05:09 +00:00 |
|
Denis Vlasenko
|
9225854144
|
mostly style fixes
|
2006-11-01 10:25:35 +00:00 |
|
Denis Vlasenko
|
d3d004dd35
|
last nail into error_msg() (de)capitalization
|
2006-10-27 09:02:31 +00:00 |
|
Denis Vlasenko
|
940b2e4b73
|
ip: "ip addr del" and "ip addr delete" both should work
|
2006-10-26 00:38:22 +00:00 |
|
Denis Vlasenko
|
c6f188def8
|
silly size savings and capitalization fixes
|
2006-10-26 00:37:00 +00:00 |
|
Denis Vlasenko
|
e1a0d486e4
|
message string changes, mostly for consistency, also -32 bytes in .rodata
|
2006-10-20 13:28:22 +00:00 |
|
Denis Vlasenko
|
ea62077b85
|
add open_read_close() and similar stuff
|
2006-10-14 02:23:43 +00:00 |
|
Denis Vlasenko
|
7d219aab70
|
build system overhaul
|
2006-10-05 10:17:08 +00:00 |
|
Denis Vlasenko
|
9275814a9e
|
lots of silly indent fixes
|
2006-10-03 19:56:34 +00:00 |
|
Denis Vlasenko
|
7935a5a992
|
libiproute/ll_map.c: fix bug 279
("On-demand net module loading fails with CONFIG_FEATURE_IFUPDOWN_IP")
|
2006-09-30 00:18:16 +00:00 |
|
Denis Vlasenko
|
981b24db5e
|
rt_names.c: move few strings into rodata
|
2006-09-28 22:36:23 +00:00 |
|
Denis Vlasenko
|
c16bd212e3
|
silly switch style fix
|
2006-09-27 19:51:06 +00:00 |
|
Denis Vlasenko
|
3538b9a882
|
Implement optional syslog logging using ordinary
bb_xx_msg calls, and convert networking/* to it.
The rest of bbox will be converted gradually.
|
2006-09-06 18:36:50 +00:00 |
|
Denis Vlasenko
|
27af5a0dd3
|
replacing func() with xfunc() where appropriate
|
2006-09-03 12:21:59 +00:00 |
|
Bernhard Reutner-Fischer
|
d591a360d3
|
- merge -r15463:15564 from busybox_scratch branch through these changesets:
------------------------------------------------------------------------
r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines
- use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert.
- use xchdir() since all is invain if it fails there anyways, supposedly
------------------------------------------------------------------------
r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines
- adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account.
------------------------------------------------------------------------
r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines
- partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save
s 144 bytes
text data bss dec hex filename
862434 10156 645924 1518514 172bb2 busybox.old
862322 10156 645892 1518370 172b22 busybox
function old new delta
z_len 4 - -4
textend 4 - -4
part_nb 4 - -4
insize 4 - -4
ifile_size 4 - -4
do_link 4 - -4
new_text 70 60 -10
ipaddr_list_link 33 23 -10
gzip_main 898 822 -76
------------------------------------------------------------------------------
(add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes
------------------------------------------------------------------------
r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines
- remove useless global exports
function old new delta
rpm_main 940 1601 +661
rpm_getstring 107 112 +5
rpm_getint 148 153 +5
loop_through_files 103 106 +3
fileaction_dobackup 115 113 -2
fileaction_list 5 - -5
rpm_getcount 42 - -42
extract_cpio_gz 161 - -161
rpm_gettags 504 - -504
------------------------------------------------------------------------------
(add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes
text data bss dec hex filename
862322 10156 645892 1518370 172b22 busybox.old
862290 10156 645892 1518338 172b02 busybox
------------------------------------------------------------------------
r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines
- shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s
emaphore stuff into single caller manually.
stats:
function old new delta
logMessage 395 427 +32
message 1245 1257 +12
opts - 4 +4
small 1 - -1
local_logging 4 - -4
doRemoteLog 4 - -4
circular_logging 4 - -4
syslogd_main 1299 1285 -14
static.res 36 16 -20
.rodata 186650 186586 -64
static.line 1025 - -1025
------------------------------------------------------------------------------
(add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes
cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,}
text data bss dec hex filename
3723 348 5242 9313 2461 sysklogd/syslogd.o.orig
3697 348 4188 8233 2029 sysklogd/syslogd.o
==============================================================================
Overall bloatcheck for the changeset mentioned above:
function old new delta
rpm_main 953 1608 +655
logMessage 395 427 +32
message 1245 1257 +12
opts - 4 +4
rpm_getstring 107 110 +3
rpm_getint 148 151 +3
loop_through_files 103 104 +1
small 1 - -1
fileaction_dobackup 115 113 -2
z_len 4 - -4
textend 4 - -4
part_nb 4 - -4
local_logging 4 - -4
insize 4 - -4
ifile_size 4 - -4
do_link 4 - -4
doRemoteLog 4 - -4
circular_logging 4 - -4
fileaction_list 5 - -5
new_text 70 60 -10
ipaddr_list_link 33 23 -10
clear_bufs 31 21 -10
syslogd_main 1287 1273 -14
builtin_help 190 176 -14
static.res 36 16 -20
builtin_source 229 199 -30
rpm_getcount 42 - -42
gzip_main 842 786 -56
.rodata 227176 227112 -64
lash_main 609 527 -82
busy_loop 3883 3739 -144
extract_cpio_gz 155 - -155
rpm_gettags 501 - -501
static.line 1025 - -1025
------------------------------------------------------------------------------
(add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
|
2006-08-20 17:35:13 +00:00 |
|
"Robert P. J. Day"
|
63fc1a9e08
|
Standardize on the vi editing directives being on the first line.
|
2006-07-02 19:47:05 +00:00 |
|
Rob Landley
|
ea224be6aa
|
skip_whitespace() shouldn't claim its return value is const, it doesn't know
that and callers wind up typecasting it back.
|
2006-06-18 20:20:07 +00:00 |
|
Bernhard Reutner-Fischer
|
fd4b61d5f3
|
- add needed includes and include busybox.h needed for the ATTRIBUTE define.
|
2006-06-16 12:28:39 +00:00 |
|
Bernhard Reutner-Fischer
|
f1bd42a305
|
- correct typo
|
2006-06-14 16:51:50 +00:00 |
|
Bernhard Reutner-Fischer
|
19008b8373
|
- reuse strings and messages. Saves about 600B
|
2006-06-07 20:17:41 +00:00 |
|
Rob Landley
|
ecae66ac16
|
Header cleanup: don't #include headers that libbb.h already includes.
|
2006-06-02 20:53:38 +00:00 |
|
Rob Landley
|
a6e131dab3
|
Size reductions, mostly switching things to use libbb functions.
|
2006-05-29 06:43:55 +00:00 |
|
Rob Landley
|
7723019c6b
|
Patch from Bernhard Fischer to remove some useless bits.
|
2006-05-17 20:24:53 +00:00 |
|
Mike Frysinger
|
d9b6b844e5
|
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
|
2006-05-13 02:33:41 +00:00 |
|
Bernhard Reutner-Fischer
|
fa939aae81
|
- include proper headers.
|
2006-04-05 16:21:37 +00:00 |
|
Bernhard Reutner-Fischer
|
9a67ca309c
|
- janitorial: include proper prototypes in libiproute.
|
2006-04-02 21:14:19 +00:00 |
|
Bernhard Reutner-Fischer
|
df10094870
|
- revert back to r14406
|
2006-03-13 19:04:00 +00:00 |
|