Daniel Fandrich
1b41b33be3
configs/android_defconfig: update
...
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-12-15 10:14:51 +01:00
Daniel Fandrich
65a1ee956f
rx: fix file corruption on block checksum failure
...
Rather than dropping the bad block, rx was appending it
to the file.
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-11-23 12:07:31 +01:00
Daniel Fandrich
fcb9e07eca
Added a few more features to android_defconfig
...
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-11-21 14:27:35 +01:00
Daniel Fandrich
45cdf166dc
android build system updates
...
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-11-03 11:20:07 +01:00
Dan Fandrich
f808e777db
rx: Fix file corruption with duplicate blocks
...
Rather than dropping the dupe, rx was appending it to the file.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-11-03 10:18:33 +01:00
Daniel Fandrich
0a428607a0
add defconfig files for Android, Cygwin and FreeBSD
...
Also added an example script to show how to compile BusyBox against
Android's bionic.
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-07-19 08:10:05 +02:00
Daniel Fandrich
126f2b2853
Support configuring Busybox from _defconfig files
...
The existing test .config files are moved to configs/ and renamed
to *_defconfig. 'make xyz_defconfig' will enable the
configuration in that specific file.
Signed-off-by: Daniel Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-07-08 07:59:16 +02:00
Dan Fandrich
b5de0c12d6
typo fixes
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-07-08 05:47:49 +02:00
Dan Fandrich
75214cfe00
Use the _unlocked stdio macros only when they're all available
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-30 02:59:17 +02:00
Dan Fandrich
0e79e7bb42
Use the built-in getline on more systems that don't have it
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-30 02:11:49 +02:00
Dan Fandrich
040b5a2e29
setserial: added missing \n in help text
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-20 10:22:18 +02:00
Dan Fandrich
f533ec8767
*: simplify Ethernet header includes
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-10 05:17:59 +02:00
Dan Fandrich
71d7313625
platform.h: support for build under Android
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-03 20:51:58 +02:00
Dan Fandrich
2f5769151f
only compile obscure.c when needed
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-03 20:28:14 +02:00
Dan Fandrich
f3854f789c
replace nonstandard unsigned typedefs
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-06-03 20:25:17 +02:00
Dan Fandrich
f303bdd918
blockdev: add --getsz to replace --getsize
...
function old new delta
blockdev_main 255 273 +18
bdcommands 160 176 +16
packed_usage 28142 28107 -35
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 34/-35) Total: -1 bytes
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-02-20 04:15:43 +01:00
Dan Fandrich
dc50676cce
Move stpcpy replacement function into libbb
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-02-13 18:37:12 +01:00
Dan Fandrich
07078c2966
Let fbsplash display images even when a second buffer is active
...
If a previous application uses double buffering and makes the
second buffer visible, fbsplash's images (written to the first
buffer) otherwise won't be visible.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2011-02-05 03:34:52 +01:00
Dan Fandrich
85c62470b7
Support set -o xtrace/noexec alternates for set -x/-n
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-28 03:56:39 +01:00
Dan Fandrich
89ca2f99a2
hush: display useful help text
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-11-28 01:54:39 +01:00
Dan Fandrich
2d1a78b88f
Marked some more applets NOEXEC/NOFORK
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-10-01 23:35:09 +02:00
Dan Fandrich
63adf83814
fix build failure for pmap
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-09-19 17:13:21 +02:00
Dan Fandrich
80d80ba6dd
Fixed a couple of failing tar tests
...
The tar symlinks mode test is fixed similarly to the hardlinks
test in 0d7cb4cc , and the read-only test is skipped by
SKIP_KNOWN_BUGS.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-09-12 16:19:33 +02:00
Dan Fandrich
77d4872691
Avoid side effects in putc(), which may be implemented as a macro
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-09-09 11:48:02 +02:00
Dan Fandrich
8d789e4197
tar: add a test for extraction of read-only directory
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-09-05 16:16:46 +02:00
Dan Fandrich
eb2bf5b6bf
Fix some test cases
...
The tar tests still don't pass, but at least now it's because of
a problem with Busybox and not the tests themselves.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com >
2010-09-03 17:09:51 +02:00
Dan Fandrich
140ac91fe1
testsuite: show the number of failures after a test run
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-29 04:47:03 +02:00
Dan Fandrich
159677c884
Rename a struct member from "interrupt"
...
This is nonstandard, but common, keyword in embedded compilers.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-24 07:38:34 +02:00
Dan Fandrich
9669363740
Remove some more mentions of Subversion
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-11 14:09:37 +02:00
Dan Fandrich
775965de85
Improved portability of tests
...
Removed assumptions about umask and locale. Fixed hostname
tests to work even when the host has no DNS domain set.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-08-11 14:09:28 +02:00
Dan Fandrich
ebeac1685a
Define GNU-specific link options in one place
...
This makes them easier to change to support a non-GNU toolchain.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-19 20:03:21 +02:00
Dan Fandrich
0635ddd8f7
Added code for nonstandard function strsep()
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-19 20:03:18 +02:00
Dan Fandrich
fdd7b566ec
A few minor portability improvements
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-19 20:03:15 +02:00
Dan Fandrich
b76f18d331
Improve unzip's handling of stream ZIP files
...
Search harder for the ZIP magic numbers at the end of a file by checking
16 KiB from the end instead of just 1 KiB. ZIP files with long comments
(such as certain cryptographically signed files) or those sitting in a
wrapper could have more than 1 KiB of data after the magic numbers, so
they couldn't be read.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-18 13:32:39 +02:00
Dan Fandrich
eafc6956f6
Allow CONFIG_VOLUMEID to be turned off
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-18 13:28:46 +02:00
Dan Fandrich
f934a51c9b
ignore changes to Kbuild files, they are generated
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-06-18 13:27:57 +02:00
Dan Fandrich
1821d188ca
diff: more compiler compat fixes. no code changes
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-02-04 04:04:56 +01:00
Dan Fandrich
f111b67100
diff: make code more portable
...
function old new delta
create_J 1835 1849 +14
diffreg 1268 1255 -13
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2010-02-04 00:10:30 +01:00
Dan Fandrich
5b0a7f1a6e
wc: fix a hang gue to isprint(EOF)
...
The new isprint replacement macro returns TRUE for isprint(EOF), so the
read loop never returns. Moved the check for EOF immediately after the
read.
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-11-18 10:48:09 +01:00
Dan Fandrich
fe4e23f9de
Add more compat code for non GNU environments
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-11-01 04:01:30 +01:00
Dan Fandrich
21a542d7d7
platform compatibility work (by Dan Fandrich)
...
Signed-off-by: Dan Fandrich <dan@coneharvesters.com >
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com >
2009-10-27 11:05:00 +01:00