d05981eaf1
Fix off by one error. (I know I had a reason for doing that, but I have _no_ idea what it was...)
Rob Landley
2006-02-14 07:33:45 +00:00
b2804551a0
Cleanups from Denis Vlasenko.
Rob Landley
2006-02-13 22:04:27 +00:00
90632d021c
Bug fix from Kim B. Heino, manifested via: echo > foo && zip foo.zip foo && ./busybox unzip foo.zip
Rob Landley
2006-02-13 19:40:43 +00:00
7bfa88f315
New USE() macros
Rob Landley
2006-02-13 19:16:41 +00:00
f251ec6847
- commentary typos
Bernhard Reutner-Fischer
2006-02-12 11:25:32 +00:00
c29a0f371a
More random documentation.
Rob Landley
2006-02-12 00:45:39 +00:00
4926d643ea
Missed this in svn 13701.
Rob Landley
2006-02-10 21:38:20 +00:00
4a1d874e1d
Another item.
Rob Landley
2006-02-10 21:36:53 +00:00
cc6d8d30ec
Fix umount so it works if there's no /etc/mtab or /proc/mounts, make umount -a into a CONFIG_FEATURE (why not?), and zap the now obsolete defconfig file (which was supposed to be part of the previous checkin).
Rob Landley
2006-02-08 20:06:57 +00:00
1ab4c3dc25
Help text update and tweak to defconfig to remove two more things that the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code).
Rob Landley
2006-02-08 18:50:17 +00:00
32251b4825
Convert some help text to english.
Rob Landley
2006-02-08 18:34:21 +00:00
271aa40a15
add back in path nulling after calling find_dev() since it is needed for now ...
Mike Frysinger
2006-02-07 06:10:45 +00:00
27a74e8017
Cristian Ionescu-Idbohrn writes: force enough space padding so that applet names always end up on their own line
Mike Frysinger
2006-02-07 00:58:11 +00:00
0380166916
space out supported applet names so the config list doesnt wrap on an 80col terminal
Mike Frysinger
2006-02-07 00:51:07 +00:00
4fcefb9e90
fixup whitespace in awk help output
Mike Frysinger
2006-02-06 23:38:59 +00:00
30a6bba65f
Bug 677: there are apparently still people using telnet.
Rob Landley
2006-02-06 02:49:45 +00:00
ba9c4d1f89
get rid of warnings with applets that have no usage and get rid of pointless --- separator between applets
Mike Frysinger
2006-02-06 01:11:34 +00:00
f37529d6b6
if the .pl script gets updated, force doc regen
Mike Frysinger
2006-02-05 22:15:39 +00:00
b0ed3d7cc0
Rob Sullivan writes: Here's a patch to autogenerate the list of applets in the Busybox documentation
Mike Frysinger
2006-02-05 22:10:40 +00:00
bec26527a1
Save a few bytes in error message.
Rob Landley
2006-02-05 03:31:44 +00:00
a421ba8203
cleanup style ... just because you use less spaces doesnt mean the resulting code is smaller
Mike Frysinger
2006-02-03 00:25:37 +00:00
248d2220f9
shrink the code a bit
Mike Frysinger
2006-02-03 00:19:42 +00:00
53d57dbe6b
gavinl writes in Bug 661: if read() file return less than 1, we should close the fd and then goto end.
Mike Frysinger
2006-02-03 00:16:53 +00:00
5509228a7b
alphabetical order and fix mdev comments about echo>/sys vs echo>/proc/sys
Mike Frysinger
2006-02-02 23:14:57 +00:00
35cf19d741
fix mdev help output
Mike Frysinger
2006-02-02 22:52:59 +00:00
4fc92206ed
destroy bug 679, use getopt_ulflags with new feature: usage option. Removed two strdup
"Vladimir N. Oleynik"
2006-02-02 14:48:54 +00:00
b38673fb9f
make the build system puuuuuuuuuuurty
Mike Frysinger
2006-02-02 01:41:53 +00:00
87be316149
more better for me signed<->unsigned and the const keyword usage
"Vladimir N. Oleynik"
2006-01-31 14:25:52 +00:00
4333a09d65
add feature: support for running scripts through an interpreter. Thanks Florian Schirmer <jolt@tuxbox.org>
"Vladimir N. Oleynik"
2006-01-31 13:53:30 +00:00
1f17d3287a
more obscure
"Vladimir N. Oleynik"
2006-01-31 12:36:51 +00:00
7600eec732
avoid signed<->unsigned warning
"Vladimir N. Oleynik"
2006-01-31 12:12:15 +00:00
57545c810a
avoid signed<->unsigned warning
"Vladimir N. Oleynik"
2006-01-31 12:06:57 +00:00
81b94960a2
- pass -static via CC rather than LD
Bernhard Reutner-Fischer
2006-01-31 11:29:22 +00:00
39e7510664
more destroy potential overflow for x86_64.
"Vladimir N. Oleynik"
2006-01-31 11:19:12 +00:00
77bb33c474
destroy potential overflow for x86_64. Added ATTRIBUTE_UNUSED
"Vladimir N. Oleynik"
2006-01-31 11:16:40 +00:00
9f4a1e1c75
- add and use ATTRIBUTE_ALIGNED(num_bytes) - remove unused parameter pindex from fdisk.c, xbsd_initlabel()
Bernhard Reutner-Fischer
2006-01-31 09:53:53 +00:00
dd14ca082a
protect potential overflow for x86_64
"Vladimir N. Oleynik"
2006-01-31 09:35:45 +00:00
4ccd2b4697
quick analize signed->unsigned: protect overflow of map[char], getchar->EOF. Use ATTRIBUTE_UNUSE.
"Vladimir N. Oleynik"
2006-01-31 09:27:48 +00:00
cd98555dfa
- fix typo i introduced yesterday.
Bernhard Reutner-Fischer
2006-01-31 08:17:13 +00:00
9e275e3450
Not on libbusybox.so: it's GPL, no API barrier, no stability promise.
Rob Landley
2006-01-31 03:45:26 +00:00
a167ec5e63
Turn defconfig into what make allyesconfig is today. Turn allyesconfig back into allyesconfig. (Memo: apparently SELINUX doesn't compile anymore.)
Rob Landley
2006-01-31 02:42:50 +00:00
3496fdc9a5
hopefully the last of the annoying signed/unsigned and mixed type errors
Eric Andersen
2006-01-30 23:09:20 +00:00
a68ea1cb93
fix up yet more annoying signed/unsigned and mixed type errors
Eric Andersen
2006-01-30 22:48:39 +00:00
9a58b02ec7
make certain we dereference the pointer as a time_t, esp on x86_64 where it might otherwise not be dereferenced as such by default
Eric Andersen
2006-01-30 22:33:31 +00:00
0cb6f35c33
fix up annoying signed/unsigned and mixed type errors
Eric Andersen
2006-01-30 22:30:41 +00:00
5e678873f9
clean up yet more annoying signed/unsigned mismatches and fixup yet more incorrect types
Eric Andersen
2006-01-30 19:48:23 +00:00
2cdd4d56ff
passing around an int as a void* is a very bad idea
Eric Andersen
2006-01-30 18:33:12 +00:00
d78aea8b8e
sort out yet more type issues
Eric Andersen
2006-01-30 18:00:02 +00:00
76b24270d4
with 2.4 kernel headers, lo_file_name is char, but with 2.6 headers we get a u8 for lo_file_name, so always cast to (char *) when treating it as such.
Eric Andersen
2006-01-30 17:30:22 +00:00
f55289f4b9
fixup a few types to prevent gcc (rightfully) whining about mixing signed and unsigned, unmatches pointer target types, etc
Eric Andersen
2006-01-30 17:27:00 +00:00
20f4000086
- add some ATTRIBUTE_UNUSED. - use shorter boilerplate while at it.
Bernhard Reutner-Fischer
2006-01-30 17:17:14 +00:00
0e8727d93b
- make linking against libcrypt optional by looking if pw_encrypt() or correct_password() is configured. Fixes allnoconfig pulling in -lcrypt.
Bernhard Reutner-Fischer
2006-01-30 15:29:55 +00:00
2d604581ef
removed warning "comparison between signed and unsigned".
"Vladimir N. Oleynik"
2006-01-30 14:02:06 +00:00
51bfa54e46
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace
"Vladimir N. Oleynik"
2006-01-30 13:58:34 +00:00
59c4e5cf92
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. My whitespace
"Vladimir N. Oleynik"
2006-01-30 13:51:50 +00:00
676b15e067
removed warning "comparison between signed and unsigned".
"Vladimir N. Oleynik"
2006-01-30 13:47:19 +00:00
cd473dd0c1
removed warning "comparison between signed and unsigned". Added ATTRIBUTE_UNUSED. Whitespace
"Vladimir N. Oleynik"
2006-01-30 13:41:53 +00:00
cd5c15d287
removed warning "comparison between signed and unsigned". Change very very old code: use int instead short
"Vladimir N. Oleynik"
2006-01-30 13:36:03 +00:00
9b9a920eef
removed warning "comparison between signed and unsigned". Reduced size
"Vladimir N. Oleynik"
2006-01-30 12:23:46 +00:00
e75b41d990
support GNU suffixes for fancy mode: b(512), k(1024) and m(1024*1024)
"Vladimir N. Oleynik"
2006-01-30 11:15:11 +00:00
b1fd52e0b7
remove outdated and do not corected comment. Use bb_xasprintf instead xmalloc+set+set+strcpy.
"Vladimir N. Oleynik"
2006-01-30 10:49:14 +00:00
646129163a
Re-add initrd support, unify halt/reboot/poweroff, add -n and -f options.
Rob Landley
2006-01-30 08:31:37 +00:00
49576c0018
Note on SVN 13424: Don't mix "default y" and select of something earlier in the menu hierarchy or else make allnoconfig winds up leaving whatever the select points to as "y". (In this case, "make allnoconfig" is leaving CONFIG_TEST as "y".)
Rob Landley
2006-01-30 06:11:42 +00:00
f8fd4db92f
Move SUSv2 obsolete feature disabling to debug menu, invert meaning of symbol (switched on to remove now: test your apps to make sure they _don't_ do this, because as some point we should just yank it), fixup head/tail/fold.
Rob Landley
2006-01-30 01:30:39 +00:00
dd53c24d41
Remove foo.txt and reenable -funsigned-char now that ash is fixed.
Rob Landley
2006-01-30 01:27:08 +00:00
03628c8f75
Remind me to implement bb_fork_exec()...
Rob Landley
2006-01-29 06:45:38 +00:00
b1b3cee831
Add explanations of encrypted passwords, and fork vs vfork.
Rob Landley
2006-01-29 06:29:01 +00:00
08a1b5095d
- add a macro to check for ld and as flags Very unreliable as e.g the ld check will see the flags supported by each emulation, not just the active one. good enough for now.. Fix would be to crate one or more dummy .c files and accually try if a flag works.
Bernhard Reutner-Fischer
2006-01-27 15:45:56 +00:00
79af7d5deb
for change previous log: close bug 186
"Vladimir N. Oleynik"
2006-01-26 10:58:12 +00:00
2e33daaed5
close bug 190
"Vladimir N. Oleynik"
2006-01-26 10:46:14 +00:00
546a99db1d
use LC_ALL, not LANG, for forcing C
Mike Frysinger
2006-01-25 22:46:25 +00:00
84005af7ef
C99 say: "char" declaration may be signed or unsigned default
"Vladimir N. Oleynik"
2006-01-25 17:53:04 +00:00
5775aa2ef6
added support /prefix for IPV4 form IPV6 code. Close bug 461
"Vladimir N. Oleynik"
2006-01-25 16:17:58 +00:00
08c5a1789b
- Simplify the prereq and add more documentation. - Fix regex for allyesconfig.
Bernhard Reutner-Fischer
2006-01-25 15:58:04 +00:00
2e5ee8ed93
+#include <sys/socket.h> remove unused 'int i' form main whitespacing only
"Vladimir N. Oleynik"
2006-01-25 14:40:24 +00:00
7b4aa6ffc6
new applet. Thanks Roberto A. Foglietta
"Vladimir N. Oleynik"
2006-01-25 14:19:11 +00:00
8aa9e57149
support 64 arith. Close bug 136
"Vladimir N. Oleynik"
2006-01-25 13:56:03 +00:00
1e98a0705b
close bug 638
"Vladimir N. Oleynik"
2006-01-25 13:21:08 +00:00
fdb871c498
Add more bash-like dot-dirs cmdedit feature Close bug 648. Restore my whitespace
"Vladimir N. Oleynik"
2006-01-25 11:53:47 +00:00
7d501a8673
ignore whitespace
Tim Riker
2006-01-25 00:25:37 +00:00
7dd4cbf2bf
LANG=C should help
Tim Riker
2006-01-25 00:17:47 +00:00
c1ef7bdd8d
just whitespace
Tim Riker
2006-01-25 00:08:53 +00:00
f64ff682a3
- correct flag for gcc-3.x
Bernhard Reutner-Fischer
2006-01-24 18:25:51 +00:00
9ed6ac2bea
- Turn off combine for allyesconfig and allbareconfig. The user ought to explicitely request this.
Bernhard Reutner-Fischer
2006-01-24 18:15:20 +00:00
2aba3953d4
- readd config option for libbusybox and ima-mode which were accidentally dropped by landley in rev13542.
Bernhard Reutner-Fischer
2006-01-24 16:14:14 +00:00
ab90b9f427
close bug 657
"Vladimir N. Oleynik"
2006-01-24 12:02:27 +00:00
8b6063490d
Once more, with fewer inappropriate semicolons.
Rob Landley
2006-01-24 02:38:28 +00:00
391a904f46
Ken McGuire's patch to make mke2fs and e2fsck work on big endian systems like PPC, with an obligatory couple of swipes from me.
Rob Landley
2006-01-23 21:38:06 +00:00
6130b9b160
Testing CONFIG_SORT_BIG to display the help for the big version of sort isn't much use when the symbol is CONFIG_FEATURE_SORT_BIG.
Rob Landley
2006-01-23 21:10:38 +00:00
e0ae702b0e
ash with -funsigned-char don`t work!
"Vladimir N. Oleynik"
2006-01-23 13:47:36 +00:00
b757699164
Oops, restore tabs
"Vladimir N. Oleynik"
2006-01-23 11:39:05 +00:00
9394b232ef
cleanup (dist)clean logic
"Vladimir N. Oleynik"
2006-01-23 11:24:58 +00:00
b70ccd9509
Close bug 644: loop incrementing twice, skipping ever other device.
Rob Landley
2006-01-22 23:17:18 +00:00