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