Rob Landley
8bb50782a5
Change llist_add_* to take the address of the list rather than returning the new
...
head, and change all the callers.
2006-05-26 23:44:51 +00:00
Bernhard Reutner-Fischer
01d23ade57
- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!
...
Adds "Enable getopt long" under "General options", default y.
Send patches to fix getopt_ulflags and run_parts.c if you turn this off..
See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
2006-05-26 20:19:22 +00:00
Mike Frysinger
fa6c4844b2
fix spelling mistakes
2006-05-26 01:48:17 +00:00
Rob Landley
6cd2250953
Remove a pointless #define.
2006-05-25 18:31:11 +00:00
Rob Landley
9ffd42317b
Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessary
...
memset, collate variable declarations...
2006-05-21 18:30:35 +00:00
Rob Landley
9b5a99ad21
Patch from Robert P. Day to remove #ifdefed out SLIP support code that we
...
have no CONFIG option to enable, and which existing SLIP users don't seem
to miss.
2006-05-19 22:54:42 +00:00
Bernhard Reutner-Fischer
b1629b1b2a
- remove emacs layout block as suggested by Robert P.J. Day
...
- use shorter boilerplate while at it
2006-05-19 19:29:19 +00:00
Bernhard Reutner-Fischer
0a8812bdc5
- replace _PATH_DEVNULL with bb_dev_null
2006-05-19 13:12:21 +00:00
Bernhard Reutner-Fischer
a2a647dfc1
- include strings.h
...
Thanks to Rich Felker for pointing this out.
2006-05-19 12:30:00 +00:00
Bernhard Reutner-Fischer
e2e56c7c41
- single KERNEL_VERSION(a,b,c) macro in platform.h
...
- rename get_kernel_revision() to get_linux_version_code
from Robert P. J. Day
2006-05-19 11:54:02 +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
Mike Frysinger
39440e520c
pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the mailing list
2006-05-13 02:33:09 +00:00
Mike Frysinger
e135a5d746
fix no previous prototype warning
2006-05-11 02:36:51 +00:00
Mike Frysinger
b5547fb0b3
fix no previous prototype warning
2006-05-11 02:35:55 +00:00
Mike Frysinger
49f6afc0a0
rename
2006-05-11 02:10:13 +00:00
Mike Frysinger
e3412d8331
remove files not related to busybox
2006-05-11 02:09:39 +00:00
Mike Frysinger
06b00e8ba7
accept() takes a socklen_t, not an int
2006-05-10 17:18:11 +00:00
Mike Frysinger
d2c8fd6360
fix whitespace in comment example
2006-05-10 17:17:09 +00:00
Mike Frysinger
772a3467ba
some more useful debug info from Jason Holden
2006-05-10 17:14:32 +00:00
Bernhard Reutner-Fischer
72c4d64d20
- add helptext for --retries
2006-05-10 16:11:02 +00:00
Mike Frysinger
62ec21d0cf
touchup whitespace/english a bit more
2006-05-10 15:59:07 +00:00
Mike Frysinger
731f81cbed
whitespace between if and (
2006-05-10 15:23:12 +00:00
Mike Frysinger
1b4e1dae71
re-enable udhcp in a few more places
2006-05-08 03:24:36 +00:00
Mike Frysinger
7031f62d9b
add back in udhcp support
2006-05-08 03:20:50 +00:00
Rob Landley
a389651115
Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytes
...
as the old optimization did (actually does slightly better under gcc 4.0), and
simplifies the code.
2006-05-07 20:20:34 +00:00
Rob Landley
3958e0a151
Busybox's udhcp was deleted a while ago. Bolting an external project onto the
...
tree doesn't change that.
2006-05-05 18:20:42 +00:00
Rob Landley
b1c3fbc677
CONFIG->ENABLE migration.
2006-05-04 19:52:28 +00:00
Rob Landley
a2d9a1752c
More usage.h cleanups, with collateral changes to httpd. Specifically,
...
most of our CONFIG entries switch stuff on instead of off when enabled, so fix
the gratuitously reversed INETD thing.
2006-04-28 19:38:04 +00:00
Bernhard Reutner-Fischer
38fc692e38
- improve wording in some help texts a little bit.
2006-04-18 11:21:07 +00:00
Bernhard Reutner-Fischer
ea46f456d4
- patch from P.J. Day to rely on the automatic indenting provided by depends.
2006-04-18 11:11:40 +00:00
Bernhard Reutner-Fischer
2949577981
- simplify config options of the ip applet.
2006-04-18 08:11:37 +00:00
Mike Frysinger
f8346038e9
kill off pointless malloc.h include
2006-04-16 21:17:00 +00:00
Mike Frysinger
b66c931fad
kill pointless memory.h includes
2006-04-16 21:15:42 +00:00
Rob Landley
b0a2d6c19d
Remove code for protocols we don't properly support. (Most of this could
...
never be selected via menuconfig anyway.) If somebody wants one of these
protocols, ask on the list for us to support it _properly_.
2006-04-14 20:07:33 +00:00
Rob Landley
da0dcd1050
Patch from Robert P Day to remove standalone code from httpd. (Busybox has
...
its own make standalone planned as a general solution to this for all
applets.)
2006-04-14 19:46:19 +00:00
Rob Landley
d086b504c3
Hard wiring configuration symbol values into the code defeats the purpose
...
of _having_ configuration symbol values.
Also, changing #ifdef CONFIG to #if ENABLE isn't nearly as useful as changing
them to if (ENABLE) or USE()/SKIP()...
2006-04-14 02:32:29 +00:00
Bernhard Reutner-Fischer
c2cb0f32b4
- patch from Denis Vlasenko to add and use bb_xopen3()
2006-04-13 12:45:04 +00:00
Bernhard Reutner-Fischer
d9cf7ac781
- patch from Denis Vlasenko to add and use bb_xchdir()
2006-04-12 18:39:58 +00:00
Bernhard Reutner-Fischer
67f641e75b
- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()
2006-04-12 18:24:37 +00:00
Bernhard Reutner-Fischer
2c99851181
- patch from Denis Vlasenko to add and use bb_xdaemon()
2006-04-12 18:09:26 +00:00
Bernhard Reutner-Fischer
dac7ff15b7
- patch from Denis Vlasenko to add and use bb_xsocket() and to use
...
bb_xopen some more while at it.
Also use shorter boilerplate while at it.
2006-04-12 17:55:51 +00:00
Bernhard Reutner-Fischer
e7f8a32929
- httpd in inetd mode: POST from IE (6) ends up in 'cannot display page'
...
Closes #827
2006-04-11 13:51:50 +00:00
Bernhard Reutner-Fischer
ca7166fe9d
- put udhcp back in (Rob, you removed this in r14787 by accident..).
2006-04-10 18:02:12 +00:00
Rob Landley
0ebecac02e
Second verse, same as the first.
2006-04-10 17:34:12 +00:00
Rob Landley
ea4c53ca43
Missing dependency spotted by Robert P Day.
2006-04-10 17:32:05 +00:00
Bernhard Reutner-Fischer
6554de06fe
- fix typo introduced in the last commit.
2006-04-10 12:32:52 +00:00
Bernhard Reutner-Fischer
a4acf669f4
- typo: s/biltin/builtin/g
2006-04-10 12:26:47 +00:00
Bernhard Reutner-Fischer
886f6afc8a
- this applet should peruse USE_FEATURE_TFTP_...
2006-04-05 16:47:02 +00:00
Bernhard Reutner-Fischer
fa939aae81
- include proper headers.
2006-04-05 16:21:37 +00:00
Bernhard Reutner-Fischer
421d9e5941
- move buffer allocation schemes to libbb.h
...
- include the correct headers: applets need busybox.h while lib* need libbb.h
2006-04-03 16:39:31 +00:00
Bernhard Reutner-Fischer
ebd1355828
- coalesce printf calls.
...
text data bss dec hex filename
3474 4 96 3574 df6 networking/arping.o.orig
3424 4 96 3524 dc4 networking/arping.o
2006-04-03 12:29:12 +00:00
Bernhard Reutner-Fischer
a0f75e2bba
- use bb_opt_complementally; Saves another 14 bytes. (thanks again, vodz)
2006-04-03 11:52:01 +00:00
Bernhard Reutner-Fischer
6153629097
- set flags in a more reasonable manner. Thanks, vodz.
...
text data bss dec hex filename
3520 4 96 3620 e24 networking/arping.o.oorig
3488 4 96 3588 e04 networking/arping.o
2006-04-03 09:46:29 +00:00
Bernhard Reutner-Fischer
9a67ca309c
- janitorial: include proper prototypes in libiproute.
2006-04-02 21:14:19 +00:00
Rob Landley
07a637df47
Patch from KRONSTORFER Horst to Fix a size mismatch in ping, such as the 56/84
...
mismatch inthe following example:
# ping -c 1 172.16.2.1
PING 172.16.2.1 (172.16.2.1): 56 data bytes
84 bytes from 172.16.2.1: icmp_seq=0 ttl=64 time=0.2 ms
2006-04-01 17:28:11 +00:00
Bernhard Reutner-Fischer
2766eedde8
- use RESERVE_CONFIG_BUFFER. For defconfig this gives:
...
text data bss dec hex filename
3627 4 120 3751 ea7 networking/arping.o.oorig
3548 4 96 3648 e40 networking/arping.o.r14710
3520 4 96 3620 e24 networking/arping.o
2006-03-31 18:13:42 +00:00
Bernhard Reutner-Fischer
137669449a
- shrink it a bit further.
...
text data bss dec hex filename
3627 4 120 3751 ea7 networking/arping.o.oorig
3548 4 96 3648 e40 networking/arping.o
2006-03-31 18:02:46 +00:00
Rob Landley
8ea5205726
Shrink patch from Bernhard Fischer.
2006-03-30 21:50:57 +00:00
Bernhard Reutner-Fischer
214744dba1
- fix paste'o which i overlooked when applying dalias' fmt stuff.
2006-03-30 13:38:19 +00:00
Paul Fox
ef81ce620c
fix from David Daney, on busybox mailing list:
...
> The problem is that if the zcip protocol times out at about the same
> time another ARP packet is being received, the newly calculated timeout
> may be set to wait forever. This prevents the protocol from progressing
> through its various states.
>
> The Fix is to set the timeout to zero if it used to be a positive
> number, but it has already expired. This causes the next protocol state
> to be entered immediately instead of never.
>
> If OK please commit.
>
> Also note that if you may have to apply the patch on this page:
>
> http://www.science.uva.nl/research/air/wiki/LinkLocalARPMeasurements
>
> To the linux kernel to get proper zcip behavior.
>
2006-03-29 23:01:33 +00:00
Bernhard Reutner-Fischer
d409c3a2f7
- Rich Felker writes: fix invalid printf format strings
...
http://busybox.net/lists/busybox/2006-March/019568.html
text data bss dec hex filename
900619 10316 1038724 1949659 1dbfdb busybox.oorig
900603 10316 1038724 1949643 1dbfcb busybox
2006-03-29 22:34:47 +00:00
Mike Frysinger
787140df39
remove in place of external link
2006-03-23 23:44:29 +00:00
Mike Frysinger
dce5809ebc
make the makefile a little more flexible so we can store in either location
2006-03-23 03:47:19 +00:00
Mike Frysinger
13c8327b79
sync busybox and udhcp trees
2006-03-23 03:05:05 +00:00
Rob Landley
a35886c862
Fix from Glenn McGrath.
2006-03-22 16:59:12 +00:00
Mike Frysinger
06adf5fb47
2006-03-21 Shaun Jackman <sjackman@gmail.com>: Include signal.h instead of sys/signal.h.
2006-03-22 00:25:07 +00:00
Eric Andersen
28a6afe975
Roy Walker writes:
...
Here is a patch against the current subversion repository, that makes
udhcpc have an adjustable timeout. Works for both foreground and before
it drops to the background. This brings it more in-line with ISC dhcpc.
Use like so:
udhcpc --timeout=10 ...
or
udhcpc -T 10 ...
Still shooting for 1.1.1 this month? Would really be great if you could
get this in that release.
Please give credit to Paul Pacheco - ppacheco@gmail.com .
2006-03-20 17:37:00 +00:00
Mike Frysinger
2f135fc6bf
update comments as to what caused the defines to change
2006-03-13 23:48:18 +00:00
Bernhard Reutner-Fischer
df10094870
- revert back to r14406
2006-03-13 19:04:00 +00:00
Mike Frysinger
9e094552c8
fix building with glibc-2.4
2006-03-10 23:41:29 +00:00
Rob Landley
bc68cd14cc
Patch from Denis Vlasenko turning static const int (which gets emitted into
...
the busybox binary) into enums (which don't).
2006-03-10 19:22:06 +00:00
Bernhard Reutner-Fischer
39a9fddb53
- fix typo
2006-03-09 16:49:01 +00:00
Bernhard Reutner-Fischer
07a79e75f5
- backout using features which are not available with the previous stable
...
version of make (3.71.1).
2006-03-09 09:03:37 +00:00
Rob Landley
dfba741457
Robert P. Day removed 8 gazillion occurrences of "extern" on function
...
definitions. (That should only be on prototypes.)
2006-03-06 20:47:33 +00:00
Eric Andersen
cbd1c85744
Kill off some unused code that was wasting several k, as noticed by
...
Denis Vlasenko when building with -ffunction-sections -fdata-sections
2006-03-03 18:37:39 +00:00
Bernhard Reutner-Fischer
e3ec99de82
- remove unused lists *-m
2006-03-02 18:23:13 +00:00
Bernhard Reutner-Fischer
022eb311d5
- use absolute path for top_builddir and top_srcdir.
...
Fixes make trying to include the very same file in an endless loop.
2006-03-02 17:33:25 +00:00
Bernhard Reutner-Fischer
5d26126b9e
- fixes parallel builds (make -j)
...
- use less resources for the buildsystem itself
2006-03-01 22:54:48 +00:00
Rob Landley
12c2429a42
Fixup to make warnings from the last patch go away.
2006-03-01 21:36:18 +00:00
Rob Landley
e7c43b66d7
Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)
...
from before "if(x) free(x)".
2006-03-01 16:39:45 +00:00
Rob Landley
e813ddba18
Cleanup from Glenn McGrath.
2006-02-28 03:53:14 +00:00
Rob Landley
4217bab02e
Patch from Glenn McGrath to remove code that opens a file but does nothing
...
with it.
2006-02-26 04:42:05 +00:00
Bernhard Reutner-Fischer
ed7bb6278d
- put NLS stuff in one central place to avoid redefines.
...
Fixes warnings about:
fdisk.c:45:1: warning: "_" redefined
nfsmount.c:121:1: warning: "_" redefined
nfsmount.c:122:1: warning: "N_" redefined
interface.c:84:1: warning: "_" redefined
2006-02-23 14:25:15 +00:00
Rob Landley
0a7c8ef6e2
Patch from Denis Vlasenko to constify things and fix a few typos.
2006-02-22 17:01:00 +00:00
Rob Landley
e8f504e86d
Bug 751: file handle leaks can add up until available filehandles for the
...
process are exhausted.
2006-02-22 02:10:34 +00:00
Rob Landley
d6e14d8bee
Don't build directory libraries unless we're building an applet that needs it.
...
Cherry-picked from Devin Bayer's big MacOS X patch.
2006-02-21 19:11:35 +00:00
Rob Landley
6f2a0b2275
Small tweak cherry-picked from Devin Bayer's monster MacOS X patch.
2006-02-21 18:34:54 +00:00
Rob Landley
ea6360e393
Missed a file in the last checkin, won't build without this...
2006-02-21 03:12:15 +00:00
Rob Landley
a2841e6d4b
Patch from Giuseppe Ciotta to specify retry count.
2006-02-20 23:26:38 +00:00
Rob Landley
0d8766a3b1
Rename UNUSE() to SKIP().
2006-02-20 23:05:06 +00:00
Mike Frysinger
294254ce6b
rfelker writes in Bug 740: s/u_char/unsigned char/
2006-02-19 22:59:12 +00:00
"Vladimir N. Oleynik"
9a51540b15
demo (UN)USE_FEATURE... usage
2006-02-15 13:27:18 +00:00
Mike Frysinger
b38673fb9f
make the build system puuuuuuuuuuurty
2006-02-02 01:41:53 +00:00
"Vladimir N. Oleynik"
4333a09d65
add feature: support for running scripts through an interpreter. Thanks Florian Schirmer <jolt@tuxbox.org>
2006-01-31 13:53:30 +00:00
Bernhard Reutner-Fischer
9f4a1e1c75
- add and use ATTRIBUTE_ALIGNED(num_bytes)
...
- remove unused parameter pindex from fdisk.c, xbsd_initlabel()
2006-01-31 09:53:53 +00:00
Eric Andersen
a68ea1cb93
fix up yet more annoying signed/unsigned and mixed type errors
2006-01-30 22:48:39 +00:00
Eric Andersen
0cb6f35c33
fix up annoying signed/unsigned and mixed type errors
2006-01-30 22:30:41 +00:00
Eric Andersen
d78aea8b8e
sort out yet more type issues
2006-01-30 18:00:02 +00:00
Bernhard Reutner-Fischer
20f4000086
- add some ATTRIBUTE_UNUSED.
...
- use shorter boilerplate while at it.
2006-01-30 17:17:14 +00:00