Matt Kraai
0861e828d0
Handle -O preceding -x.
2003-05-18 21:12:36 +00:00
Matt Kraai
3ad88ccf2d
* testsuite/sed/sed-recurses-properly: Mark XFAIL.
2002-06-11 13:29:08 +00:00
Matt Kraai
9ef2ea27d4
* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.
2002-06-11 13:25:26 +00:00
Matt Kraai
a4a65e7f99
* archival/gunzip.c (gunzip_file): New.
...
(gunzip_main): Handle no arguments correctly.
2002-04-29 15:32:32 +00:00
Matt Kraai
272a95524f
* networking/wget.c (wget_main): Check return value of safe_fwrite.
2002-04-17 15:33:24 +00:00
Matt Kraai
a0782684fd
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
...
output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
2002-04-15 15:01:37 +00:00
Matt Kraai
5c69cd84ff
* editors/sed.c (process_file): Stop processing deleted lines.
...
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
2002-04-01 16:17:37 +00:00
Matt Kraai
8a8308f129
* testsuite/which/which-uses-default-path: Remove extra echo.
2002-03-27 23:19:17 +00:00
Matt Kraai
66388f89a5
* testsuite/grep/egrep-supports-extended-regexps: Check exit status instead
...
of output.
2002-03-27 22:56:19 +00:00
Matt Kraai
50aec98e1c
* testsuite/bunzip2/bunzip2-reads-from-standard-input: Remove -c flags.
...
* testsuite/gunzip/gunzip-reads-from-standard-input: Likewise.
2002-03-27 22:48:39 +00:00
Matt Kraai
6feaeace86
* testsuite/COPYING: Remove.
2002-03-27 22:43:47 +00:00
Matt Kraai
cf32ac543c
* archival/bunzip2.c (bunzip2_main): Remove compressed file.
...
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
2002-03-27 17:46:44 +00:00
Matt Kraai
35d60421b4
* testsuite/runtest (run_applet_testcase): Return test case status, not
...
process ID.
2002-03-27 17:33:31 +00:00
Matt Kraai
9cdb0601eb
* archival/bunzip2.c: Include <unistd.h>.
...
(bunzip2_main): Read data from standard input if FILE argument is `-' or
omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
2002-03-27 17:31:01 +00:00
Matt Kraai
ef8b112d77
* archival/gzip.c (gzip_main): Ensure that the output is a terminal and use
...
error_msg to display the error message.
2002-03-22 22:55:51 +00:00
Matt Kraai
83788da250
* include/applets.h (CONFIG_LOSETUP): New.
...
* include/usage.h (losetup_trivial_usage, losetup_full_usage): New.
* util-linux/Makefile: Add losetup.o.
* util-linux/config.in: Add losetup prompt.
* util-linux/losetup.c: New.
2002-03-20 17:38:37 +00:00
Matt Kraai
aee53f4604
* testsuite/grep/egrep-is-not-case-insensitive: Require
...
CONFIG_FEATURE_GREP_EGREP_ALIAS.
2002-03-19 23:47:49 +00:00
Matt Kraai
b3de66869b
* testsuite/grep/grep-handles-binary-files: Read input from a pipe.
...
* testsuite/grep/grep-matches-NUL: Likewise.
2002-03-19 23:46:16 +00:00
Matt Kraai
0efab3319d
* networking/wget.c (parse_url): Allocate a string for the empty path.
...
* testsuite/wget/wget-handles-empty-path: New.
2002-03-19 15:22:42 +00:00
Matt Kraai
3b1cbd7bec
Thomas Lundquist
...
* docs/new-applet-HOWTO.txt: Update for new directory structure.
2002-03-18 16:03:00 +00:00
Matt Kraai
a1bbde71bf
list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
2002-03-08 16:25:33 +00:00
Matt Kraai
3bd31ebc9a
* fileutils/ls.c (showfiles): Display multiple short names on a line.
2002-03-08 16:16:38 +00:00
Matt Kraai
a99b194336
* libbb/xfuncs.c (xmalloc, xcalloc): Do not exit if a zero-length buffer is
...
requested.
(xrealloc): Simplify.
2002-02-26 15:28:22 +00:00
Matt Kraai
eed9451cf6
* findutils/grep.c (grep_main): Remove unnecessary use of junk.
2002-02-22 22:08:16 +00:00
Matt Kraai
fa144713b8
* testsuite/runtest (show_result): Change UPASS to XPASS.
...
(run_applet_testcase): Likewise.
2002-02-19 23:54:42 +00:00
Matt Kraai
6b140ea5a9
* testsuite/README: Change "UNSUPPORTED" tag to "FEATURE".
...
* testsuite/runtest (run_applet_testcase): Likewise.
* testsuite/cp/cp-preserves-hard-links: Likewise.
* testsuite/grep/egrep-supports-extended-regexps: Likewise.
* testsuite/grep/grep-is-also-egrep: Likewise.
* testsuite/tar/tar-archives-multiple-files: Likewise.
* testsuite/tar/tar-handles-empty-include-and-non-empty-exclude-list:
Likewise.
* testsuite/tar/tar-handles-exclude-and-extract-lists: Likewise.
* testsuite/tar/tar-handles-nested-exclude: Likewise.
2002-02-19 23:43:08 +00:00
Matt Kraai
7c71822809
* testsuite/runtest (run_applet_testcase): Return UNTESTED instead of
...
UNSUPPORTED for missing applets and features.
2002-02-19 23:38:08 +00:00
Matt Kraai
b5b757eb8d
* testsuite/README: Fill to 80 columns.
2002-02-19 23:20:52 +00:00
Matt Kraai
6be2319873
* testsuite/README: Update copyright date.
2002-02-19 23:19:46 +00:00
Matt Kraai
ad6faf6497
* testsuite/tar/tar-archives-multiple-files: Require
...
CONFIG_FEATURE_TAR_CREATE.
2002-02-19 23:15:41 +00:00
Matt Kraai
4271d438e2
* docs/busybox.net/index.html (Products/Projects Using BusyBox): Added
...
Tinfoil Hat Linux.
2002-02-19 22:58:26 +00:00
Matt Kraai
c00e4ff8e5
* testsuite/tar/tar-archives-multiple-files: New.
2002-02-17 18:42:52 +00:00
Matt Kraai
9bd49d6a22
* archival/gzip.c (ifname, ofname): Delete.
...
(gzip_main): Handle multiple files.
* include/usage.h (gzip_trivial_usage): Allow multiple FILEs.
(gzip_full_usage): Ditto.
* testsuite/gzip/gzip-accepts-multiple-files: New.
* testsuite/gzip/gzip-removes-original-file: New.
2002-02-05 22:31:48 +00:00
Matt Kraai
592a3e63ee
* archival/gzip.c (gzip_main): Display usage if given multiple files.
2002-02-05 19:34:53 +00:00
Matt Kraai
273af73317
* include/usage.h (gzip_trivial_usage): Make FILE optional.
...
(gzip_full_usage): Note behavior when FILE is unspecified.
2002-02-05 19:25:29 +00:00
Matt Kraai
eb83478528
* fileutils/dd.c (dd_main): Ignore ftruncate error if the output is not a
...
file or directory.
2002-02-05 15:28:54 +00:00
Matt Kraai
369da77d5e
2002-01-30 Neal H Walfield <neal@cs.uml.edu>
...
* networking/ping.c (hostname): Removed.
[CONFIG_FEATURE_FANCY_PING] (noresp): Moved from here . . .
[CONFIG_FEATURE_FANCY_PING] (ping:noresp): . . . to here.
Use H->h_name, not hostname.
[CONFIG_FEATURE_FANCY_PING] (ping): Do not copy H->h_name into
hostname.
Use H->h_name directly.
[!CONFIG_FEATURE_FANCY_PING] (hostent): New global variable.
[!CONFIG_FEATURE_FANCY_PING] (pingstats): Use hostent in favor
of the now obsolete hostname global variable.
[!CONFIG_FEATURE_FANCY_PING] (ping): Likewise.
No need to copy H; use hostent instead.
[!CONFIG_FEATURE_FANCY_PING] (ntransmitted, nreceived,
nrepeats, pingcount, myid, options, tmax, tsum): Removed
superfluous zero initializers.
2002-02-01 16:54:00 +00:00
Matt Kraai
a3181dd833
Do not segfault if PATH is unset.
2002-01-14 18:30:10 +00:00
Matt Kraai
b75b6e2c35
* archival/tar.c (tar_main): Remove unused variable.
2002-01-08 16:03:41 +00:00
Matt Kraai
d402f971a5
* docs/busybox.net/index.html: Fix misspelling of `Unfortunately'.
2002-01-04 16:54:39 +00:00
Matt Kraai
9eaf059d28
* editors/sed.c (parse_cmd_str): Remove redundant code to skip initial
...
whitespace.
2002-01-03 21:19:19 +00:00
Matt Kraai
5ed78adca5
* editors/sed.c (parse_edit_cmd): Rewrite.
...
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
2002-01-03 21:12:34 +00:00
Matt Kraai
d299563257
* AUTHORS (Matt Kraai): Update e-mail address.
2002-01-03 18:29:37 +00:00
Matt Kraai
9758e7d58d
* include/usage.h: Fix route and unzip usage messages (patch from
...
Laurence Anderson).
2002-01-03 17:32:29 +00:00
Matt Kraai
f3fbe20c35
* cmp/cmp-detects-difference: Simplify return code negation.
...
* false/false-returns-failure: Likewise.
* tar/tar-demands-at-least-one-ctx: Likewise.
* tar/tar-demands-at-most-one-ctx: Likewise.
2002-01-02 20:45:42 +00:00
Matt Kraai
01d2ea908b
* testsuite/README: Document -v option.
...
* testsuite/runtest: Handle -v option.
(show_result): New.
(run_applet_testcase): Call it.
2002-01-02 20:37:59 +00:00
Matt Kraai
39fcb5a750
* archival/dpkg.c (create_list): Use chomp.
...
* archival/tar.c (append_file_list_to_list): Likewise.
2002-01-02 19:01:41 +00:00
Matt Kraai
0733e840bd
chomp should only remove the newline if it occurs at the end of the input.
...
This was caught by the test suite (in sed/sed-aic-commands).
* libbb/chomp.c: Revert to revision 1.5.
2002-01-02 18:51:23 +00:00
Matt Kraai
d21735de2d
* editors/sed.c (parse_edit_command): Require a newline after the backslash
...
after an edit command.
* testsuite/sed/sed-requires-newline-after-edit-command: New.
2002-01-02 17:56:38 +00:00
Matt Kraai
70624846fd
Ignore blanks before the first address and before the command.
2001-12-21 16:04:12 +00:00
Matt Kraai
1fcc66e685
New.
2001-12-21 15:54:25 +00:00
Matt Kraai
1f0c43668a
Remove == TRUE' tests and convert != TRUE' and `== FALSE' tests to use !.
2001-12-20 23:13:26 +00:00
Matt Kraai
31c73af656
Perform clean up only if CONFIG_FEATURE_CLEAN_UP is defined.
2001-12-20 22:30:14 +00:00
Matt Kraai
2b1effdbbc
Write files when extracting an archive from standard input.
2001-12-20 22:09:31 +00:00
Matt Kraai
c5b5cab37d
Remove dependence on CONFIG_FEATURE_CLEAN_UP.
2001-12-20 21:13:18 +00:00
Matt Kraai
38c15becf6
Avoid printing a trailing blank character.
2001-12-20 21:11:59 +00:00
Matt Kraai
ace02dc9cd
Make cp and mv optionally preserve hard links.
2001-12-17 15:26:36 +00:00
Matt Kraai
e62dc86bc7
Add support for big-endian ARM (initial patch by Mike Voytovich).
2001-12-14 16:08:17 +00:00
Matt Kraai
04ae328851
Update uClibc URL.
2001-12-12 19:09:51 +00:00
Matt Kraai
14b7c5d12b
Open the source before creating the destination.
2001-12-11 16:43:48 +00:00
Matt Kraai
741f40b58e
Use an int to hold the result of fgetc (bug noted by David Kimdon).
2001-12-11 16:06:02 +00:00
Matt Kraai
07a37aebf5
New.
2001-12-07 21:27:57 +00:00
Matt Kraai
dba11452cb
Continue processing files if we are asked to touch, but not create, a file
...
which doesn't exist.
2001-12-07 21:27:38 +00:00
Matt Kraai
1a781a499f
Enable test only if CONFIG_FEATURE_GREP_EGREP_ALIAS is defined.
2001-12-07 21:24:25 +00:00
Matt Kraai
3eeab3b23f
Update copyright and close file descriptors (noted by Axel Kittenberger).
2001-12-07 16:27:37 +00:00
Matt Kraai
54805af092
Remove documentation for the --file option to hostname (noted by
...
David Douthitt).
2001-12-06 17:37:51 +00:00
Matt Kraai
8a35c9a557
Add space before module name (noted by Ron Yorston).
2001-11-27 17:28:01 +00:00
Matt Kraai
1dbd6ff80f
New.
2001-11-20 16:04:22 +00:00
Matt Kraai
585f657e2d
Fix undeclared variable error.
2001-11-20 16:00:44 +00:00
Matt Kraai
0c390a76fe
Eliminate warning.
2001-11-20 16:00:19 +00:00
Matt Kraai
fd3f1be57f
New.
2001-11-20 15:49:55 +00:00
Matt Kraai
355a61b56f
Treat NUL as the end-of-line.
2001-11-20 15:49:50 +00:00
Matt Kraai
efd7f03657
Fix opt type in dpkg ( closes : #118975 ).
2001-11-19 21:07:15 +00:00
Matt Kraai
4e05da89f3
Add a check target.
2001-11-19 19:47:56 +00:00
Matt Kraai
36c613a443
Update usage instructions, and document test case format.
2001-11-19 19:28:56 +00:00
Matt Kraai
9dfe508a3f
New.
2001-11-19 19:00:13 +00:00
Matt Kraai
c2d6ca0922
Fix misspelling.
2001-11-19 18:44:58 +00:00
Matt Kraai
03bb3088b0
New.
2001-11-19 15:13:12 +00:00
Matt Kraai
5c2bbb55d7
Remove unnecessary errno handling.
2001-11-12 18:44:26 +00:00
Matt Kraai
6c5fdfaf56
New.
2001-11-12 18:42:57 +00:00
Matt Kraai
a21c24bf03
Convert strdup call to xstrdup, and calloc calls to xcalloc (patch from
...
Steve Merrifield).
2001-11-12 16:58:07 +00:00
Matt Kraai
c8227639db
Change strdup calls to xstrdup (patch from Steve Merrifield).
2001-11-12 16:57:27 +00:00
Matt Kraai
357cfc739e
Brag.
2001-11-12 16:45:43 +00:00
Matt Kraai
9fb38f600c
Eliminate unused variable warnings.
2001-11-12 16:45:23 +00:00
Matt Kraai
a5f09c668e
Use fopen wrapper.
2001-11-12 16:44:55 +00:00
Matt Kraai
b89637a037
New.
2001-10-31 16:36:23 +00:00
Matt Kraai
5447f17ef9
Remove completed task.
2001-10-31 16:36:02 +00:00
Matt Kraai
f419855300
Mark as unsupported unless CONFIG_FEATURE_TAR_EXCLUDE is defined.
2001-10-31 16:18:48 +00:00
Matt Kraai
bb0088e980
Make egrep only set REG_EXTENDED flag.
2001-10-31 16:16:31 +00:00
Matt Kraai
3889078dbe
Merge test suite.
2001-10-30 23:11:20 +00:00
Matt Kraai
999623e973
Use extended regular expressions when invoked as egrep (noted and initial
...
patch by Charles Steinkuehler).
2001-10-29 15:49:03 +00:00
Matt Kraai
b5f2516e3f
Add killall (noted by Giulio Orsero).
2001-10-29 15:22:42 +00:00
Matt Kraai
258bd3d971
Split true and false into separate applets.
2001-10-24 19:00:20 +00:00
Matt Kraai
3c2f27d9f1
Add CONFIG_FEATURE_TAR_EXCLUDE support.
2001-10-24 18:51:27 +00:00
Matt Kraai
1c9cebc8df
Fix empty line substitutions (noted by Joshua Hudson).
2001-10-23 21:18:59 +00:00
Matt Kraai
8470b9a85c
Fix empty line substitutions (noted by Joshua Hudson).
2001-10-23 21:12:07 +00:00
Matt Kraai
c2e5b977ab
Add ttylinux.
2001-10-19 15:33:45 +00:00
Matt Kraai
bcca3317b5
Return NULL if EOF is encountered before terminating_string.
2001-10-18 17:04:22 +00:00
Matt Kraai
a7512d74fa
Process extra empty lines correctly.
2001-10-18 17:03:59 +00:00
Matt Kraai
3dd4f5ed69
Remove xmalloc calls.
2001-10-18 15:08:30 +00:00