Bernhard Reutner-Fischer [Mon, 24 Apr 2006 17:41:29 +0000 (17:41 -0000)]
- return ret so we return something meaningful.
Mike Frysinger [Fri, 21 Apr 2006 22:04:05 +0000 (22:04 -0000)]
Jason Schoon writes: Attached is a patch to display the usage message if fuser is called with no arguments, rather than doing no work and failing silently.
Mike Frysinger [Fri, 21 Apr 2006 21:59:22 +0000 (21:59 -0000)]
Jason Schoon writes: This makes the case where LFS is not defined, but fdisk is configured with large disk support use the pretty build rules.
Mike Frysinger [Fri, 21 Apr 2006 01:18:07 +0000 (01:18 -0000)]
2006-04-20 Shaun Jackman <sjackman@gmail.com>
* Makefile: Build a bFLT binary.
* Rules.mak: Ditto.
Ned Ludd [Fri, 21 Apr 2006 00:40:35 +0000 (00:40 -0000)]
- passwd doesnt use salt with md5 passwords; bug #604 thanks taviso
Mike Frysinger [Thu, 20 Apr 2006 04:00:11 +0000 (04:00 -0000)]
kill signed warnings
Rob Landley [Wed, 19 Apr 2006 22:22:06 +0000 (22:22 -0000)]
Patch from Jean Wolter:
it looks like the introduced support for character classes and
equivalence classes is not correct. The attached patch tries to fix
some symptoms and tries to make tr behave like gnu tr for the added
test cases. The patch
- removes if clauses with side effects
- fixes handling of buffer pointer (strcat added characters to the
buffer without increasing the buffer pointer)
- re-arranges character classes to match ASCII order
regards,
Jean
Rob Landley [Wed, 19 Apr 2006 20:32:27 +0000 (20:32 -0000)]
svn 14824 broke -funsigned-char and possibly building out of tree, because
$(srcdir) can't bind early since it's set to a different value in each subdir.
If it binds early, it's blank, hence an empty -I which eats the next option
as a directory to look for #include files in.
So CFLAGS has to bind late, but the check_gcc stuff should only get run once.
I added a "make V=2" mode to show when check_gcc gets run, and turned WARNINGS
into a CFLAGS line since it was always getting added anyway.
Rob Landley [Tue, 18 Apr 2006 20:57:28 +0000 (20:57 -0000)]
New applet cksum, from Rob Sullivan.
Rob Landley [Tue, 18 Apr 2006 20:42:39 +0000 (20:42 -0000)]
Remove some #if 0 code.
Rob Landley [Tue, 18 Apr 2006 20:41:51 +0000 (20:41 -0000)]
Simplify the GPL boilerplate.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 14:17:49 +0000 (14:17 -0000)]
- typo: s/derefernce/dereference/g
Thanks to P.J. Day.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 12:46:56 +0000 (12:46 -0000)]
- commentary typo and superfluous whitespace removal in weird messages.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 11:21:07 +0000 (11:21 -0000)]
- improve wording in some help texts a little bit.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 11:15:19 +0000 (11:15 -0000)]
- add typo s/deamon/daemon/g
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 11:11:40 +0000 (11:11 -0000)]
- patch from P.J. Day to rely on the automatic indenting provided by depends.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 10:04:08 +0000 (10:04 -0000)]
- enable dumpleases applet again; bad rob
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 08:44:19 +0000 (08:44 -0000)]
- add grep for typo s/algorithic/algorithmic/g
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 08:24:13 +0000 (08:24 -0000)]
- BusyBox is under GPL.
in http://www.busybox.net/lists/busybox/2006-April/020364.html Denis Vlasenko
said when asked which license to use for these files:
"Sure. LGPL or GPL is fine with me."
Adjusting accordingly.
Bernhard Reutner-Fischer [Tue, 18 Apr 2006 08:11:37 +0000 (08:11 -0000)]
- simplify config options of the ip applet.
Rob Landley [Tue, 18 Apr 2006 01:53:41 +0000 (01:53 -0000)]
From Rob Sullivan: Fix a segfault with searching, plus some cleanups.
Rob Landley [Mon, 17 Apr 2006 23:02:57 +0000 (23:02 -0000)]
Robert Eggers noticed that nfsmount would sometimes incorrectly return success.
Rob Landley [Mon, 17 Apr 2006 22:49:30 +0000 (22:49 -0000)]
Glenn gave permission for GPLv2 "or later".
Rob Landley [Mon, 17 Apr 2006 22:29:13 +0000 (22:29 -0000)]
Patch from Tito to fix printing null and make output look like hdparm 6.3.
Rob Landley [Mon, 17 Apr 2006 21:49:34 +0000 (21:49 -0000)]
Remove a superfluous quote and more non-generic standalone code.
Rob Landley [Mon, 17 Apr 2006 21:47:03 +0000 (21:47 -0000)]
Elf dynamic linker stuff from Rich Felker.
Mike Frysinger [Mon, 17 Apr 2006 02:00:49 +0000 (02:00 -0000)]
enable udhcp applets again; bad rob
Mike Frysinger [Sun, 16 Apr 2006 21:41:00 +0000 (21:41 -0000)]
just use the stack to kill memleak and return if user didnt give us anything to match
Mike Frysinger [Sun, 16 Apr 2006 21:30:47 +0000 (21:30 -0000)]
use xmalloc, dont hardcode length of string, and get rid of pointless call to memset
Mike Frysinger [Sun, 16 Apr 2006 21:17:00 +0000 (21:17 -0000)]
kill off pointless malloc.h include
Mike Frysinger [Sun, 16 Apr 2006 21:15:42 +0000 (21:15 -0000)]
kill pointless memory.h includes
Mike Frysinger [Sun, 16 Apr 2006 21:14:59 +0000 (21:14 -0000)]
add a check for obsolete headers
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?