Bernhard Reutner-Fischer
35017fb4fc
- backout erroneously checked in snippet..
2006-05-19 20:48:22 +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
d8e87a09d1
- forgot to make busybox_unstripped depend on the applets in IMA mode.
2006-05-19 18:37:34 +00:00
Bernhard Reutner-Fischer
c7801c4634
- use shorter boilerplate.
2006-05-19 18:35:03 +00:00
Bernhard Reutner-Fischer
351c832d75
- redirect stdout of scripts/config/conf to /nil for
...
allyesconfig, allnoconfig, defconfig, allbareconfig
- fix invalid call to "make"; use $(MAKE) instead.
2006-05-19 18:33:34 +00:00
Bernhard Reutner-Fischer
a254065e63
- remove SIGIOT as suggested by landley.
2006-05-19 17:54:05 +00:00
Bernhard Reutner-Fischer
14b1d2930a
- typo s/allbaseconfig/allbareconfig/
...
I thought Robert Day pointed this out, but i cannot find the mail in the archives..
2006-05-19 14:02:51 +00:00
Bernhard Reutner-Fischer
0a8812bdc5
- replace _PATH_DEVNULL with bb_dev_null
2006-05-19 13:12:21 +00:00
Bernhard Reutner-Fischer
14aa06f29c
- do not use non-standard u_int.
...
- do not use _PATH_DEVNULL gnuism but bb_dev_null.
Thanks to Rich Felker.
2006-05-19 13:02:27 +00:00
Bernhard Reutner-Fischer
e2922e42a0
- make it C89 compatible; Declarations in the middle of a function is of course
...
fine in C99, but it really serves no purpose other than breaking compilation
on C89 compilers.
Thanks to Rich Felker for pointing this out.
2006-05-19 12:48:56 +00:00
Bernhard Reutner-Fischer
38583fd6f2
- use uint32_t instead of __u32
...
Thanks to Rich Felker for pointing this out.
2006-05-19 12:44:16 +00:00
Bernhard Reutner-Fischer
4009ed91f7
- Rich Felker writes:
...
SIGIOT is not defined in any standard i can find and it seems to be
useless (alias for SIGABRT) on linux. i put it in #ifdef but it's
probably best just to remove it and cut down the size a bit.
2006-05-19 12:41:13 +00:00
Bernhard Reutner-Fischer
d9ed35c8b9
- remove superfluous legacy includes.
...
This applet should be converted to use llist; __NEED_DLLIST
2006-05-19 12:38:30 +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
a85a63f6ee
- fix invalid mode
2006-05-19 12:22:11 +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
Bernhard Reutner-Fischer
e3c150bc67
- cleanup memory if opening aliases failed and cleanup was requested.
2006-05-19 11:24:28 +00:00
Bernhard Reutner-Fischer
2f38f27b42
- patch from Robert P. J. Day to use filter instead of findstring.
2006-05-15 10:04:50 +00:00
Bernhard Reutner-Fischer
72c4d64d20
- add helptext for --retries
2006-05-10 16:11:02 +00:00
Bernhard Reutner-Fischer
eba32f429b
- typo in error-message: s/algotithm/algorithm
...
- whitespace cleanup
2006-05-10 07:59:32 +00:00
Bernhard Reutner-Fischer
2431830018
- fix bug in make help introduced by landley in r15022:
...
Development:
bloatcheck - show size difference between busybox_unstripped
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file
make[1]: *** [help] Error 2
make: *** [help] Error 2
2006-05-09 11:29:56 +00:00
Bernhard Reutner-Fischer
45d545890f
- fix build
2006-05-08 20:20:32 +00:00
Bernhard Reutner-Fischer
0e413e53e9
- ignore missing helptext for options which are not selectable.
2006-05-05 14:05:21 +00:00
Bernhard Reutner-Fischer
4f7953cc3c
- add helptext for CONFIG_UNIX2DOS
2006-05-05 11:55:53 +00:00
Bernhard Reutner-Fischer
3916b2a560
- add script to check for missing help entries of config options
...
Currently we have these errors:
./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE'
./networking/Config.in: No helptext for 'CONFIG_IPADDR'
./networking/Config.in: No helptext for 'CONFIG_IPLINK'
./networking/Config.in: No helptext for 'CONFIG_IPROUTE'
./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL'
./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS'
2006-05-04 11:38:33 +00:00
Bernhard Reutner-Fischer
3737c03630
- rerun gcse pass after reload, enable whole-program iff we are not building
...
the lib (due to bug in gcc; see comment.)
I would have run the testsuite to check if everything is still behaving, but
unfortunately i cannot run the testsuite anymore: it just sits there and does
nothing even with a pristine checkout and an old gcc.
srcdir=/tmp/busybox/testsuite /tmp/busybox/testsuite/runtest
PASS: Applet order
FAIL: Common typos
PASS: Obsolete function usage
PASS: Obsolete function usage
<spins, ^C>
make[1]: *** [check] Interrupt
make: *** [check] Interrupt
I've just corrected that wrong double-printing.
Anyway. with gcc-4.1-HEAD from earlier today, we now have for
defconfig+ COMPILE_AT_ONCE:
880 -rwxr-xr-x 1 433 433 893476 Apr 28 21:41 busybox.oorig-4.0
860 -rwxr-xr-x 1 433 433 874560 Apr 28 21:36 busybox.oorig
844 -rwxr-xr-x 1 433 433 858752 Apr 28 21:49 busybox
text data bss dec hex filename
879920 11568 1039148 1930636 1d758c busybox.oorig-4.0
862802 10192 1038796 1911790 1d2bee busybox.oorig
848066 9100 1037536 1894702 1ce92e busybox
values for 4.0.2 just added for reference..
2006-04-28 20:02:29 +00:00
Bernhard Reutner-Fischer
15545b1db9
- print "Obsolet headers" instead of "Obsolete function usage" when checking
...
for obsolet includes.
2006-04-28 19:53:48 +00:00
Bernhard Reutner-Fischer
a345dc855f
- add two regression tests for seq.
...
"seq two arguments equal, arbitrary negative step" fails but should pass..
2006-04-27 13:46:56 +00:00
Bernhard Reutner-Fischer
fc477f4bc6
- add note about crond
2006-04-26 19:40:15 +00:00
Bernhard Reutner-Fischer
06a81d368e
- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which prints
...
the sizes of the individual object files.
2006-04-26 10:10:25 +00:00
Bernhard Reutner-Fischer
56fbd21fa7
- return ret so we return something meaningful.
2006-04-24 17:41:29 +00:00
Bernhard Reutner-Fischer
18260d5099
- typo: s/derefernce/dereference/g
...
Thanks to P.J. Day.
2006-04-18 14:17:49 +00:00
Bernhard Reutner-Fischer
0c013f5fc7
- commentary typo and superfluous whitespace removal in weird messages.
2006-04-18 12:46:56 +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
074fe347b7
- add typo s/deamon/daemon/g
2006-04-18 11:15:19 +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
ba31d27249
- enable dumpleases applet again; bad rob
2006-04-18 10:04:08 +00:00
Bernhard Reutner-Fischer
9b68dbd878
- add grep for typo s/algorithic/algorithmic/g
2006-04-18 08:44:19 +00:00
Bernhard Reutner-Fischer
54f75ee300
- 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.
2006-04-18 08:24:13 +00:00
Bernhard Reutner-Fischer
2949577981
- simplify config options of the ip applet.
2006-04-18 08:11:37 +00:00
Bernhard Reutner-Fischer
af07a00082
- fix typo. Thanks to David Moberg for pointing this out.
2006-04-16 20:56:03 +00:00
Bernhard Reutner-Fischer
6b4377f333
- 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
2006-04-13 13:32:16 +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
4f3d2deaa4
- better wording.
...
Closes bug #656 .
2006-04-12 19:14:35 +00:00
Bernhard Reutner-Fischer
34fc71f5a3
- note to think about eventually ditching vdprintf()
2006-04-12 18:50:19 +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
79865bc507
- add verbatim cp of http://www.gnu.org/copyleft/lesser.txt
2006-04-12 17:46:18 +00:00
Bernhard Reutner-Fischer
fc5f318896
- use C99 %j format to print intmax.
...
Closes bugs #802 and #743
2006-04-12 08:03:11 +00:00
Bernhard Reutner-Fischer
cb44816ba3
- 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
2006-04-12 07:35:12 +00:00
Bernhard Reutner-Fischer
d0ea52ee04
- 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..
2006-04-11 20:48:24 +00:00
Bernhard Reutner-Fischer
a23a6d7819
- include netinet/in.h for struct sockaddr_in.
...
Closes bug #735
2006-04-11 18:15:17 +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
cc295fb261
- comment out the check-referer lines.
2006-04-11 08:55:19 +00:00
Bernhard Reutner-Fischer
e0e9886c19
- we seem to use h3, so make it consistent.
2006-04-11 08:49:01 +00:00
Bernhard Reutner-Fischer
91f604771b
- update screenshot to reflect the busybox-1.1.2 stable release.
2006-04-11 08:42:58 +00:00
Bernhard Reutner-Fischer
9460f66e4e
- 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
2006-04-11 08:01:29 +00:00
Bernhard Reutner-Fischer
0b257d411d
- remove implied closing paragraph
...
- add (improper but pretty) border='0'
2006-04-11 07:52:20 +00:00
Bernhard Reutner-Fischer
776fe22756
- add note pointing to the stable branch, so users can pickup the current
...
stable version with fixes via svn.
2006-04-10 20:15:46 +00:00
Bernhard Reutner-Fischer
905a58a303
- poke bot
2006-04-10 19:47:46 +00:00
Bernhard Reutner-Fischer
8326d5e31b
- 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.
2006-04-10 19:40:51 +00:00
Bernhard Reutner-Fischer
3515f6e043
- make it resemble html.
2006-04-10 19:16:50 +00:00
Bernhard Reutner-Fischer
fdf2b50316
- make it resemble english and fix typo s/interperet/interpret/g;
2006-04-10 18:40:27 +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
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
bc14214018
- patch from Rob Sullivan to add support for -L
2006-04-06 16:07:08 +00:00
Bernhard Reutner-Fischer
5fb0fecc1f
- 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
2006-04-06 11:28:19 +00:00
Bernhard Reutner-Fischer
cc4003f778
- 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
2006-04-06 08:23:11 +00:00
Bernhard Reutner-Fischer
693a93608a
- move code around to avoid the need for the prototypes.
2006-04-06 08:15:24 +00:00
Bernhard Reutner-Fischer
8f7d389700
- 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.
2006-04-06 08:11:08 +00:00
Bernhard Reutner-Fischer
e11a01cc34
- include inttypes.h as pointed out by Jason Schoon.
...
- use shorter boilerplate and switch to USE_FEATURE_STAT_FORMAT while at it.
2006-04-05 17:19:37 +00:00
Bernhard Reutner-Fischer
886f6afc8a
- this applet should peruse USE_FEATURE_TFTP_...
2006-04-05 16:47:02 +00:00
Bernhard Reutner-Fischer
061fd0a353
- make sure that the label expected_hwif_error is visible even when
...
CONFIG_FEATURE_HDPARM_HDIO_SCAN_HWIF isn't set.
2006-04-05 16:37:25 +00:00
Bernhard Reutner-Fischer
fa939aae81
- include proper headers.
2006-04-05 16:21:37 +00:00
Bernhard Reutner-Fischer
465874f3a3
- use proper macros to print intmax_t.
...
PRIuMAX and PRIxMAX are defined in inttypes depending on the wordsize.
2006-04-05 14:57:59 +00:00
Bernhard Reutner-Fischer
dee811a53d
- remove unused ext2fs_find_first_bit_set() and ext2fs_find_next_bit_set()
2006-04-04 12:17:24 +00:00
Bernhard Reutner-Fischer
89aaf4e249
- pull in prototype for e2fsck_main.
2006-04-04 12:10:28 +00:00
Bernhard Reutner-Fischer
2b398bec9c
- make sure that we see all lib*/.c in IMA-mode even when not building the .so
2006-04-03 21:16:52 +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
101a470068
- make append_option and multiconvert static.
2006-04-03 15:46:14 +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
a38330c366
- 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
2006-04-03 11:25:48 +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
cfb53dfd5e
- include proper prototypes in libunarchive.
2006-04-02 21:50:01 +00:00
Bernhard Reutner-Fischer
7ab5f4d03d
- 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.
2006-04-02 21:23:40 +00:00
Bernhard Reutner-Fischer
9a67ca309c
- janitorial: include proper prototypes in libiproute.
2006-04-02 21:14:19 +00:00
Bernhard Reutner-Fischer
7f77810633
- 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.
2006-04-02 20:41:55 +00:00
Bernhard Reutner-Fischer
a1bccc0ba8
- typos: s/compatability/compatibility/g;s/compatable/compatible/g;
2006-04-02 20:17:55 +00:00
Bernhard Reutner-Fischer
9457e70357
- typo: s/compenent/component/g
...
add a bit of documentation.
2006-04-02 20:12:31 +00:00
Bernhard Reutner-Fischer
5cf905a871
- 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
2006-03-31 22:36:15 +00:00
Bernhard Reutner-Fischer
81901a096c
- 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
2006-03-31 18:43:55 +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
e47c4cbd4d
- update help text.
...
the interface argument is now a lowercase 'i' to match the big arping
commandline-syntax.
2006-03-31 18:10:31 +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
Bernhard Reutner-Fischer
1f6dc6d358
- rename clean_up in tune2fs and mke2fs to be prefixed with their applet names.
...
Purely cosmetic to ease readability.
2006-03-30 13:54:30 +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