Bernhard Reutner-Fischer [Sun, 16 Apr 2006 20:56:03 +0000 (20:56 -0000)]
- fix typo. Thanks to David Moberg for pointing this out.
Mike Frysinger [Sun, 16 Apr 2006 20:54:19 +0000 (20:54 -0000)]
uncuddle if statements
Mike Frysinger [Sun, 16 Apr 2006 20:38:26 +0000 (20:38 -0000)]
use more boiler plate GPL notices
Mike Frysinger [Sun, 16 Apr 2006 20:34:26 +0000 (20:34 -0000)]
uncuddle brackets
Mike Frysinger [Sun, 16 Apr 2006 06:09:46 +0000 (06:09 -0000)]
add some tests for common typos and for obsolete functions
Mike Frysinger [Sun, 16 Apr 2006 05:58:21 +0000 (05:58 -0000)]
use memmove() instead of bcopy()
Mike Frysinger [Sun, 16 Apr 2006 05:55:15 +0000 (05:55 -0000)]
touchup comment
Mike Frysinger [Sun, 16 Apr 2006 05:54:31 +0000 (05:54 -0000)]
use strchr() not index()
Mike Frysinger [Sun, 16 Apr 2006 05:51:47 +0000 (05:51 -0000)]
use memcmp() not bcmp()
Rob Landley [Fri, 14 Apr 2006 20:07:33 +0000 (20:07 -0000)]
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_.
Rob Landley [Fri, 14 Apr 2006 19:46:19 +0000 (19:46 -0000)]
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.)
Rob Landley [Fri, 14 Apr 2006 19:25:01 +0000 (19:25 -0000)]
Busybox is under the GPL.
Rob Landley [Fri, 14 Apr 2006 02:32:29 +0000 (02:32 -0000)]
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()...
Rob Landley [Fri, 14 Apr 2006 00:55:46 +0000 (00:55 -0000)]
The link to Bernhard's subversion branch belongs in subversion.html (where
it already is).
Rob Landley [Thu, 13 Apr 2006 23:22:16 +0000 (23:22 -0000)]
Patch from Robert P Day: let menuconfig indent stuff for us, we don't have
to do it in Config.in.
Bernhard Reutner-Fischer [Thu, 13 Apr 2006 13:32:16 +0000 (13:32 -0000)]
- remove unneeded include, use shorter boilerplate while at it and also
shrink filter_accept_reject_list() a tiny bit while at it.
text data bss dec hex filename
59 0 0 59 3b filter_accept_reject_list.o
62 0 0 62 3e filter_accept_reject_list.o.orig
Bernhard Reutner-Fischer [Thu, 13 Apr 2006 12:45:04 +0000 (12:45 -0000)]
- patch from Denis Vlasenko to add and use bb_xopen3()
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 19:14:35 +0000 (19:14 -0000)]
- better wording.
Closes bug #656.
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 18:50:19 +0000 (18:50 -0000)]
- note to think about eventually ditching vdprintf()
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 18:39:58 +0000 (18:39 -0000)]
- patch from Denis Vlasenko to add and use bb_xchdir()
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 18:24:37 +0000 (18:24 -0000)]
- patch from Denis Vlasenko to add bb_xbind() and bb_xlisten()
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 18:09:26 +0000 (18:09 -0000)]
- patch from Denis Vlasenko to add and use bb_xdaemon()
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 17:55:51 +0000 (17:55 -0000)]
- 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.
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 17:46:18 +0000 (17:46 -0000)]
- add verbatim cp of gnu.org/copyleft/lesser.txt
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 08:03:11 +0000 (08:03 -0000)]
- use C99 %j format to print intmax.
Closes bugs #802 and #743
Bernhard Reutner-Fischer [Wed, 12 Apr 2006 07:35:12 +0000 (07:35 -0000)]
- add and use bb_opendir(), bb_xopendir().
text data bss dec hex filename
889445 9392
1035784 1934621 1d851d busybox.gcc-4.2.orig
889297 9392
1035784 1934473 1d8489 busybox.gcc-4.2
889009 9820
1037860 1936689 1d8d31 busybox.gcc-4.1.orig
888817 9820
1037860 1936497 1d8c71 busybox.gcc-4.1
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 20:48:24 +0000 (20:48 -0000)]
- pin the CFLAGS to make sure that we don't have to re-evaluate the
check_gcc over and over again. Makes make -j work for me..
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 18:15:17 +0000 (18:15 -0000)]
- include netinet/in.h for struct sockaddr_in.
Closes bug #735
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 13:51:50 +0000 (13:51 -0000)]
- httpd in inetd mode: POST from IE (6) ends up in 'cannot display page'
Closes #827
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 08:55:19 +0000 (08:55 -0000)]
- comment out the check-referer lines.
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 08:49:01 +0000 (08:49 -0000)]
- we seem to use h3, so make it consistent.
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 08:42:58 +0000 (08:42 -0000)]
- update screenshot to reflect the busybox-1.1.2 stable release.
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 08:01:29 +0000 (08:01 -0000)]
- tweak visibility of label expected_hwif_error as it's only needed for
CONFIG_FEATURE_HDPARM_HDIO_UNREGISTER_HWIF or CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF
Bernhard Reutner-Fischer [Tue, 11 Apr 2006 07:52:20 +0000 (07:52 -0000)]
- remove implied closing paragraph
- add (improper but pretty) border='0'
Mike Frysinger [Tue, 11 Apr 2006 04:04:40 +0000 (04:04 -0000)]
Robert P. J. Day writes: even in the header file, make it clear that the routine depends on __uClinux__
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 20:15:46 +0000 (20:15 -0000)]
- add note pointing to the stable branch, so users can pickup the current
stable version with fixes via svn.
Rob Landley [Mon, 10 Apr 2006 20:04:32 +0000 (20:04 -0000)]
Announce 1.1.2.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 19:47:46 +0000 (19:47 -0000)]
- poke bot
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 19:40:51 +0000 (19:40 -0000)]
- add a colorful "valid HTML 4.01 Transitional" button to be able to check the referer easily.
Just rip it out if this is not considered generally useful.. TIA.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 19:16:50 +0000 (19:16 -0000)]
- make it resemble html.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 18:40:27 +0000 (18:40 -0000)]
- make it resemble english and fix typo s/interperet/interpret/g;
Rob Landley [Mon, 10 Apr 2006 18:03:17 +0000 (18:03 -0000)]
Patch from Tito to unify deluser and delgroup, and generally shrink code.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 18:02:12 +0000 (18:02 -0000)]
- put udhcp back in (Rob, you removed this in r14787 by accident..).
Rob Landley [Mon, 10 Apr 2006 17:54:23 +0000 (17:54 -0000)]
Notes about pic, static linking, and debugging dynamic linking.
Rob Landley [Mon, 10 Apr 2006 17:34:12 +0000 (17:34 -0000)]
Second verse, same as the first.
Rob Landley [Mon, 10 Apr 2006 17:32:05 +0000 (17:32 -0000)]
Missing dependency spotted by Robert P Day.
Rob Landley [Mon, 10 Apr 2006 17:28:27 +0000 (17:28 -0000)]
I forgot to re-enable shared library build after 1.1.1. (Undo svn 14590.)
Rob Landley [Mon, 10 Apr 2006 17:07:15 +0000 (17:07 -0000)]
Patch from Rob Sullivan to consolidate crc32 table generation.
Rob Landley [Mon, 10 Apr 2006 16:40:47 +0000 (16:40 -0000)]
We use -funsigned-char now, so having a separate RESERVE_CONFIG_UBUFFER is
a bit silly. Wean of that where it currently makes no difference...
Rob Landley [Mon, 10 Apr 2006 16:09:52 +0000 (16:09 -0000)]
Modprobe update from Ignacio García Pérez, updating support for modprobe.conf.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 12:32:52 +0000 (12:32 -0000)]
- fix typo introduced in the last commit.
Bernhard Reutner-Fischer [Mon, 10 Apr 2006 12:26:47 +0000 (12:26 -0000)]
- typo: s/biltin/builtin/g
Rob Landley [Thu, 6 Apr 2006 22:49:04 +0000 (22:49 -0000)]
Another size reduction patch from Garrett.
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 16:07:08 +0000 (16:07 -0000)]
- patch from Rob Sullivan to add support for -L
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 11:28:19 +0000 (11:28 -0000)]
- shrink it a little bit and make it buildable with gcc-2.95
text data bss dec hex filename
7332 4 92 7428 1d04 diff.o-gcc-4.2-HEAD.orig
7185 4 92 7281 1c71 diff.o-gcc-4.2-HEAD.new
7336 4 92 7432 1d08 diff.o-gcc-4.1-HEAD.orig
7148 4 92 7244 1c4c diff.o-gcc-4.1-HEAD.new
7485 4 92 7581 1d9d diff.o-gcc-4.0.orig
7318 4 92 7414 1cf6 diff.o-gcc-4.0.new
7511 4 92 7607 1db7 diff.o-gcc-3.4.orig
7252 4 92 7348 1cb4 diff.o-gcc-3.4.new
8214 4 92 8310 2076 diff.o-gcc-3.3.orig
7882 4 92 7978 1f2a diff.o-gcc-3.3.new
- - - - - diff.o-gcc-2.95.orig
8238 8 88 8334 208e diff.o-gcc-2.95.new
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:23:11 +0000 (08:23 -0000)]
- remove unused args.
text data bss dec hex filename
7353 4 92 7449 1d19 coreutils/diff.o-gcc-4.2.oorig
7332 4 92 7428 1d04 coreutils/diff.o
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:15:24 +0000 (08:15 -0000)]
- move code around to avoid the need for the prototypes.
Bernhard Reutner-Fischer [Thu, 6 Apr 2006 08:11:08 +0000 (08:11 -0000)]
- new applet diff. Rob Sullivan writes:
Here's my attempt at a mini diff applet - it's adapted from the code at
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/diff/, and only supports
unified diffs.
I've busyboxified everything to a reasonable degree, so I think the code is
suitable enough to be included, but there's still a fair bit of cleaning up
to be done.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 17:19:37 +0000 (17:19 -0000)]
- include inttypes.h as pointed out by Jason Schoon.
- use shorter boilerplate and switch to USE_FEATURE_STAT_FORMAT while at it.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:47:02 +0000 (16:47 -0000)]
- this applet should peruse USE_FEATURE_TFTP_...
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:37:25 +0000 (16:37 -0000)]
- make sure that the label expected_hwif_error is visible even when
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 16:21:37 +0000 (16:21 -0000)]
- include proper headers.
Bernhard Reutner-Fischer [Wed, 5 Apr 2006 14:57:59 +0000 (14:57 -0000)]
- use proper macros to print intmax_t.
PRIuMAX and PRIxMAX are defined in inttypes depending on the wordsize.
Paul Fox [Wed, 5 Apr 2006 14:17:24 +0000 (14:17 -0000)]
adjust ifdefs for inclusion of string_insert() routine
Rob Landley [Wed, 5 Apr 2006 01:43:39 +0000 (01:43 -0000)]
Kumar spotted another bug: if we autodetect nfs and they haven't specified the
fstype, it should be set to nfs.
Rob Landley [Tue, 4 Apr 2006 19:26:37 +0000 (19:26 -0000)]
Some tests were always true. We need comm.tests...
Rob Landley [Tue, 4 Apr 2006 19:19:53 +0000 (19:19 -0000)]
Rewrite/shrink by tito.
Rob Landley [Tue, 4 Apr 2006 16:56:04 +0000 (16:56 -0000)]
You'd think there'd be a compiler warning for "pointless if", wouldn't you?
Rob Landley [Tue, 4 Apr 2006 15:39:23 +0000 (15:39 -0000)]
Avoid spurious error message. (Technically applet order should be "SKIPPED"
when you move the testsuite directory outside of busybox and run it, but as
long as the test doesn't fail we're ok.)
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 12:17:24 +0000 (12:17 -0000)]
- remove unused ext2fs_find_first_bit_set() and ext2fs_find_next_bit_set()
Bernhard Reutner-Fischer [Tue, 4 Apr 2006 12:10:28 +0000 (12:10 -0000)]
- pull in prototype for e2fsck_main.
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 21:16:52 +0000 (21:16 -0000)]
- make sure that we see all lib*/.c in IMA-mode even when not building the .so
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 16:39:31 +0000 (16:39 -0000)]
- move buffer allocation schemes to libbb.h
- include the correct headers: applets need busybox.h while lib* need libbb.h
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 15:46:14 +0000 (15:46 -0000)]
- make append_option and multiconvert static.
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 12:29:12 +0000 (12:29 -0000)]
- 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
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 11:52:01 +0000 (11:52 -0000)]
- use bb_opt_complementally; Saves another 14 bytes. (thanks again, vodz)
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 11:25:48 +0000 (11:25 -0000)]
- do away with useless fwd-decls, redundant bb_printf calls, silence warning
about comparing signed and unsigned and make stuff static.
text data bss dec hex filename
6944 0 0 6944 1b20 util-linux/ipcs.o.oorig
6509 0 0 6509 196d util-linux/ipcs.o
TODO: bb_getopt_ulflags, and further simplifications
Bernhard Reutner-Fischer [Mon, 3 Apr 2006 09:46:29 +0000 (09:46 -0000)]
- 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
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:50:01 +0000 (21:50 -0000)]
- include proper prototypes in libunarchive.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:23:40 +0000 (21:23 -0000)]
- janitorial: huft_build is never used outside of decompress_unzip.c and has no
prototype (which suggests that it's of no general use) so make it static for now.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 21:14:19 +0000 (21:14 -0000)]
- janitorial: include proper prototypes in libiproute.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:41:55 +0000 (20:41 -0000)]
- switch Warning Of the Week to wrong or missing prototypes.
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h
decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h"
etc, etc.
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:17:55 +0000 (20:17 -0000)]
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
Bernhard Reutner-Fischer [Sun, 2 Apr 2006 20:12:31 +0000 (20:12 -0000)]
- typo: s/compenent/component/g
add a bit of documentation.
Rob Landley [Sun, 2 Apr 2006 18:57:20 +0000 (18:57 -0000)]
New version from Tito.
Mike Frysinger [Sat, 1 Apr 2006 20:38:22 +0000 (20:38 -0000)]
work outside of the srctree
Rob Landley [Sat, 1 Apr 2006 17:36:31 +0000 (17:36 -0000)]
The build broke for me on gcc 4.0.3 due to an #include having the wrong patch.
Rob Landley [Sat, 1 Apr 2006 17:32:52 +0000 (17:32 -0000)]
Bug spotted by Kumar Gala. Hopefully this fixes it...
Rob Landley [Sat, 1 Apr 2006 17:28:11 +0000 (17:28 -0000)]
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
Mike Frysinger [Sat, 1 Apr 2006 01:36:32 +0000 (01:36 -0000)]
new test for source code sanity
Mike Frysinger [Sat, 1 Apr 2006 01:36:13 +0000 (01:36 -0000)]
move source code tests out into a sep file rather than just disabling/breaking them
Mike Frysinger [Sat, 1 Apr 2006 01:35:52 +0000 (01:35 -0000)]
remove bogus "
Mike Frysinger [Sat, 1 Apr 2006 01:35:33 +0000 (01:35 -0000)]
silence error if busybox.links doesnt exist and run tests that begin with "all_"
Rob Landley [Sat, 1 Apr 2006 00:40:33 +0000 (00:40 -0000)]
Ext2fs cleanup from Garrett Kajmowicz.
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 22:36:15 +0000 (22:36 -0000)]
- use RESERVE_CONFIG_BUFFER and a bit of whitespace-cleanup. defconfig:
text data bss dec hex filename
1307 0 0 1307 51b util-linux/hwclock.o.oorig
1255 0 0 1255 4e7 util-linux/hwclock.o
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:43:55 +0000 (18:43 -0000)]
- add option to suppress the terse usage messages. Saves 6.8k for defconfig:
text data bss dec hex filename
861791 11264
1039140 1912195 1d2d83 busybox.have-terse-usage
854799 11264
1039140 1905203 1d1233 busybox.no-terse
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:13:42 +0000 (18:13 -0000)]
- 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
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:10:31 +0000 (18:10 -0000)]
- update help text.
the interface argument is now a lowercase 'i' to match the big arping
commandline-syntax.
Bernhard Reutner-Fischer [Fri, 31 Mar 2006 18:02:46 +0000 (18:02 -0000)]
- 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
Rob Landley [Thu, 30 Mar 2006 21:50:57 +0000 (21:50 -0000)]
Shrink patch from Bernhard Fischer.