1c3577f91d
ifupdown: Debian users contributed improvement to it
2006-10-02 20:57:10 +00:00
f8aa109a9f
wget: make progress bar and ETA work correctly with -c
2006-10-01 10:58:54 +00:00
55a994055f
lsmod: repair indentation
...
httpd: ifdef CONFIG -> if ENABLE (shorted, catched typos)
2006-09-30 20:41:44 +00:00
3038ac9c19
vconfig: fix bug 701 (I be damned if I understand it)
2006-09-30 19:37:25 +00:00
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
a959588b80
Yet another silly little byte saving. couldn't -> cannot
2006-09-29 21:30:43 +00:00
981b24db5e
rt_names.c: move few strings into rodata
2006-09-28 22:36:23 +00:00
06b543b217
ifupdown: make dhcp start/stop scripts user configurable
...
in /etc/network/interfaces. Patch author is Gabriel L. Somlo <somlo@cmu.edu >
2006-09-28 22:31:51 +00:00
c16bd212e3
silly switch style fix
2006-09-27 19:51:06 +00:00
2f4399c6cc
ifupdown: fix for standalone shell; removed hardcoded PATH
2006-09-27 14:14:51 +00:00
0534125ccc
ifupdown: style cleanup, no code changes
2006-09-26 20:35:30 +00:00
e175ff252f
several fixes from openWRT project
2006-09-26 17:41:00 +00:00
8b8c75e6ab
httpd: sanitize indentation
2006-09-26 10:07:41 +00:00
a552eeb498
wget: add (configurable) large file support. Run tested.
2006-09-26 09:22:12 +00:00
a94554d010
wget: fix bug where wget creates null file if there is no remote one.
...
add O_LARGEFILE support (not run tested :).
2006-09-23 17:49:09 +00:00
c1876d7364
inetd: deindent main loop, other readability enhancements
2006-09-23 15:58:01 +00:00
ec17d437ab
inetd: reformat with tabs for indentation
2006-09-23 15:18:38 +00:00
7f1f5b001f
ifupdown: getopt_ulflags'ification.
2006-09-23 12:49:01 +00:00
a65a17700a
arping: fix bug (getopt_ulflags and optarg don't mix),
...
remove unreachable error path.
2006-09-23 12:46:30 +00:00
754a88f7aa
netstat: getopt_ulflags'isation
2006-09-22 16:02:40 +00:00
8514fc5681
hostname: getopt_ulflags'isation
2006-09-22 08:53:14 +00:00
0e87d347e8
telnetd: getopt_ulflags'isation
2006-09-22 08:50:29 +00:00
9213a9e0f2
whitespace cleanup
2006-09-17 16:28:10 +00:00
f5fc1384e9
So, in the cornucopia of superfulous warning directives I didn't add to the
...
tree, we have the warning about failed inlines (which with our inline
limit set to zero means any usage of the "inline" keyword at all). Note
that setting the inline limit to zero, and using -Werror, both predated
adding the warning about inlines to the tree. So whatever checkin added
that did nothing but break the tree. But oh well.
The second category of superfluous warnings is warning about functions with
no previous declaration. Apparently, if you add ALWAYS_INLINE to an empty
function definition, it considers the sucker undeclared as far as the
warning is concerned. (I.E. it's a buggy warning. I try not to ask the
compiler to generate warnings it can't competently generate.)
This is why I removed "inline" (unbreak allbareconfig), and couldn't replace it
with "ALWAYS_INLINE" (still broke allbareconfig).
2006-09-15 04:08:25 +00:00
64d7e93081
- convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen defaults to 0777 on it's own, so we don't need to xopen3(,,0777).
...
Saves a few bytes:
$ size busybox.old busybox text data bss dec hex filename
839676 8780 243592 1092048 10a9d0 busybox.old
839660 8780 243592 1092032 10a9c0 busybox
$ make CC=gcc-4.2-HEAD bloatcheck
function old new delta
static.vconfig_main 281 279 -2
static.rx_main 1076 1074 -2
static.mt_main 294 292 -2
static.gzip_main 753 751 -2
static.mkfs_minix_main 4034 4030 -4
static.unzip_main 1771 1766 -5
static.crontab_main 1513 1507 -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes
2006-09-11 16:01:40 +00:00
49ea46667f
Build fixes for gcc 4.0 with -Werror, from Tito.
2006-09-11 01:34:21 +00:00
3526a1320a
wget: wrap one atrociously long line (around 200 chars long!).
2006-09-09 12:20:57 +00:00
d797fcd726
udhcp: FEATURE_UDHCP_SYSLOG should be selected only if
...
udhcp[cd] really are going to use it.
2006-09-09 12:18:46 +00:00
239369b368
Fix (hopefully) bug 976. Need more thorough audit.
...
Restore erroneously removed FEATURE_UDHCP_SYSLOG.
2006-09-07 17:05:44 +00:00
049d6b8c08
Add CONFIG_FEATURE_SYSLOG which controls whether
...
bb_xx_msg will ever try to send output to syslog.
Add "select CONFIG_FEATURE_SYSLOG" to relevant applets.
This allows to omit syslog code if we do not have
any syslog-capable applets in the build.
2006-09-07 06:02:39 +00:00
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
21afc7dc29
uuencode: common implementation for wget and uuencode (closing bug 694)
2006-09-03 15:49:40 +00:00
65113e8d97
zcip: bb_error_msg had stray newlines; small optimization in opt parsing
2006-09-03 12:31:59 +00:00
af906a3b6c
zcip: minor fixes
2006-09-03 12:29:53 +00:00
a9abecd85e
zcip: fix stdout/err versus syslog output.
...
Incomplete: xfunc() would not respect this. TODO.
2006-09-03 12:28:32 +00:00
65dbd8752b
zcip: getopt -> bb_getopt_ulflags
2006-09-03 12:27:25 +00:00
60e3dd6016
zcip: convert lots of zero-initialized locals
...
in zcip_main() to statics in bss.
2006-09-03 12:26:06 +00:00
035aae5841
zcip: use xfunc() where appropriate
2006-09-03 12:23:56 +00:00
27af5a0dd3
replacing func() with xfunc() where appropriate
2006-09-03 12:21:59 +00:00
87d80dcc3e
zcip: apply patch from
...
http://bugs.busybox.net/view.php?id=1005
zcip does not claim another IP after defending
2006-09-03 12:20:36 +00:00
bcf4908e71
ping: bind -> xbind
2006-09-02 17:53:16 +00:00
e0b7f71d26
ping(6): use htons instead of SWAP_BE.
2006-09-02 16:57:59 +00:00
2cbe6e6eb2
ping: implement -I option
2006-09-02 16:17:30 +00:00
db7f2e5881
ping6: resolve interface name to number early.
...
gcc is more efficient at truncating int to int16
via cast, use that instead of &.
2006-09-02 16:16:23 +00:00
cb6874cc66
Sync ping and ping6 a bit, fix style and indentation.
2006-09-02 16:13:36 +00:00
d53dd3e627
Fix endianness issue in ping6
2006-09-02 16:11:44 +00:00
bfbc4ebf40
- patch from Csaba Henk to make the "User-Agent" header field configurable.
2006-09-02 15:30:26 +00:00
88621d7398
Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage
...
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan
to rewrite it anyway so I'll just bump that up in priority a bit).
2006-08-29 19:41:06 +00:00
099ed50f91
Unbreak allbareconfig a bit. (The telnetd.c fix is a perfect example of why
...
applets which are a forest of #ifdefs are unmaintainable.)
2006-08-28 09:41:49 +00:00
289e86a0a5
- typo s/ENABLE_WGET_LONG_OPTIONS/ENABLE_FEATURE_WGET_LONG_OPTIONS/g
2006-08-20 20:01:24 +00:00