Eric Andersen [Fri, 5 Jan 2001 20:58:22 +0000 (20:58 -0000)]
Patch from larry doolittle to be ever so careful to cleanup
all open file descriptors, lest wierdness happen later.
Eric Andersen [Fri, 5 Jan 2001 19:37:32 +0000 (19:37 -0000)]
Better label the globals.
Eric Andersen [Fri, 5 Jan 2001 19:34:52 +0000 (19:34 -0000)]
Patch from Larry Doolittle to set values to static variables that live in the
bss at runtime, since sh.c can call sh.c, which causes these variables to not
be set to their defaults as god intended.
-Erik
Mark Whitley [Fri, 5 Jan 2001 18:19:30 +0000 (18:19 -0000)]
Turned some #define constants into static const ints.
Matt Kraai [Fri, 5 Jan 2001 02:57:53 +0000 (02:57 -0000)]
Rewrote tail.
Matt Kraai [Fri, 5 Jan 2001 02:53:11 +0000 (02:53 -0000)]
Fix a segfault by only constructing the prompt when we need to. If we don't
do this we will segfault processing /etc/.profile since cwd isn't yet set.
Mark Whitley [Thu, 4 Jan 2001 22:21:13 +0000 (22:21 -0000)]
Changed email address to codepoet.org, updated list of applets / docs I
maintain in AUTHORS.
Mark Whitley [Thu, 4 Jan 2001 22:07:50 +0000 (22:07 -0000)]
Included name of Larry Doolittle's build test script. Shameless self-crediting
of a few items.
Eric Andersen [Thu, 4 Jan 2001 21:14:15 +0000 (21:14 -0000)]
Update to changelog -- mostly from Larry Doolittle.
Matt Kraai [Thu, 4 Jan 2001 15:11:52 +0000 (15:11 -0000)]
Fixed -qv interaction (thanks to a report and patch from David Douthitt).
Eric Andersen [Thu, 4 Jan 2001 11:10:38 +0000 (11:10 -0000)]
Move window size handling to cmdedit.c. Move prompt setup to setup_prompt_string()
Eric Andersen [Thu, 4 Jan 2001 11:09:00 +0000 (11:09 -0000)]
Update interface per what now exists...
Eric Andersen [Thu, 4 Jan 2001 11:08:45 +0000 (11:08 -0000)]
Cleanup -- move win handling to cmdedit.c, static-ify many functions.
Matt Kraai [Thu, 4 Jan 2001 02:00:17 +0000 (02:00 -0000)]
Fix symbol table manipulation (report and fix by Larry Doolittle).
Mark Whitley [Thu, 4 Jan 2001 01:05:55 +0000 (01:05 -0000)]
Added new script from Larry Doolittle that builds each applet individually.
Matt Kraai [Wed, 3 Jan 2001 17:22:10 +0000 (17:22 -0000)]
Behave like GNU tar when matching excluded files.
Matt Kraai [Wed, 3 Jan 2001 16:15:15 +0000 (16:15 -0000)]
Prevent / doubling and shrink parse_url.
Glenn L McGrath [Wed, 3 Jan 2001 01:44:49 +0000 (01:44 -0000)]
Fix warning for unused variable
Glenn L McGrath [Wed, 3 Jan 2001 01:38:29 +0000 (01:38 -0000)]
enable is_direcotry() for dpkg-deb
Glenn L McGrath [Wed, 3 Jan 2001 01:06:30 +0000 (01:06 -0000)]
Add dpkg-deb documentation
Eric Andersen [Wed, 3 Jan 2001 00:14:45 +0000 (00:14 -0000)]
Disable a bunch of less common stuff by default. This produces
a more reasonable sized default build.
Eric Andersen [Wed, 3 Jan 2001 00:06:46 +0000 (00:06 -0000)]
Logger forgot to NULL terminate strings from stdin.
Glenn L McGrath [Tue, 2 Jan 2001 23:49:26 +0000 (23:49 -0000)]
really add dpkg-deb.c this time
Glenn L McGrath [Tue, 2 Jan 2001 23:41:50 +0000 (23:41 -0000)]
add dpkg-deb command
Matt Kraai [Tue, 2 Jan 2001 22:54:12 +0000 (22:54 -0000)]
Update logger usage information.
Matt Kraai [Tue, 2 Jan 2001 18:13:58 +0000 (18:13 -0000)]
Log stdin when no message given and use getopt.
Eric Andersen [Tue, 2 Jan 2001 11:01:31 +0000 (11:01 -0000)]
I just whipped up support for arbitrary regex delimiters, so
now things such as
$ echo foo | sed 'sxfooxb\arx'
bar
will work as expected (and so doogie can stop complaining).
-Erik
Eric Andersen [Tue, 2 Jan 2001 01:16:38 +0000 (01:16 -0000)]
Better dmalloc handling
Eric Andersen [Tue, 2 Jan 2001 01:16:02 +0000 (01:16 -0000)]
Be more careful about dmalloc handling
Matt Kraai [Sat, 30 Dec 2000 07:46:23 +0000 (07:46 -0000)]
Improvements from Vladimir N. Oleynik.
Matt Kraai [Tue, 26 Dec 2000 16:36:10 +0000 (16:36 -0000)]
Fix lower casing for weird locales.
Eric Andersen [Fri, 22 Dec 2000 18:02:02 +0000 (18:02 -0000)]
Cleanup from Gennady Feldman <gfeldman@mail.com>
Matt Kraai [Fri, 22 Dec 2000 01:48:07 +0000 (01:48 -0000)]
Use busybox error handling functions wherever possible.
Eric Andersen [Thu, 21 Dec 2000 18:31:36 +0000 (18:31 -0000)]
Another sh.c patch from Larry Doolittle. This makes redirects work properly
with non-forking shell builtins. Especially helpful for "read". This patch
also beautifies builtin_fg_bg, clarifies the problems with
run_command_predicate, makes if/then/else support the default, and corrects the
sense of the BB_FEATURE_SH_ENVIRONMENT comment.
Eric Andersen [Wed, 20 Dec 2000 23:40:57 +0000 (23:40 -0000)]
Make more things be static (like they are supposed to be).
Eric Andersen [Wed, 20 Dec 2000 23:22:29 +0000 (23:22 -0000)]
Bump the version number to 0.49pre
Eric Andersen [Wed, 20 Dec 2000 23:19:42 +0000 (23:19 -0000)]
Turns out, md5sum was broken anyways. It uses backwards TRUE/FALSE
and wasnever updated when TRUE and FALSE were fixed. So kludge it
by doing an #undef TRUE, then define it backwards...
Eric Andersen [Wed, 20 Dec 2000 22:59:16 +0000 (22:59 -0000)]
Fix a warning in sh.c. Remove use of getline() in md5sum since
nobody else uses it and it is a GNU extension anyways...
Mark Whitley [Wed, 20 Dec 2000 22:35:12 +0000 (22:35 -0000)]
Some corrections, some additions, some embellishments.
Matt Kraai [Wed, 20 Dec 2000 20:49:56 +0000 (20:49 -0000)]
Rewrote.
Eric Andersen [Wed, 20 Dec 2000 20:41:02 +0000 (20:41 -0000)]
Fix a stupid naming error.
Matt Kraai [Tue, 19 Dec 2000 20:45:49 +0000 (20:45 -0000)]
Be sure to read from the given path, not the one used in the header.
Mark Whitley [Tue, 19 Dec 2000 19:44:35 +0000 (19:44 -0000)]
More spelling fixes from Larry Doolittle.
Mark Whitley [Tue, 19 Dec 2000 17:54:38 +0000 (17:54 -0000)]
Added a paragraph from Larry Dolittle, made some more section headers.
Mark Whitley [Tue, 19 Dec 2000 17:35:24 +0000 (17:35 -0000)]
New applet HOWTO. Written by Matt Kraai with some formating and additions by me.
Matt Kraai [Tue, 19 Dec 2000 06:24:08 +0000 (06:24 -0000)]
Fix tar handling of absolute paths and excluded directories.
Matt Kraai [Mon, 18 Dec 2000 21:38:57 +0000 (21:38 -0000)]
Rewrote dd.
Eric Andersen [Mon, 18 Dec 2000 20:36:02 +0000 (20:36 -0000)]
Doc update from Matt Kraai, better describing the init process.
Eric Andersen [Mon, 18 Dec 2000 20:25:50 +0000 (20:25 -0000)]
Ok, this is a pretty major update to sh.c. I renamed all the variables and
function names to conform with the style guide. I also did a lot of work on
the if-then-alse-fi logic and added prototype (i.e. it segfaults when enabled)
line continuation support.
Furthermore, this patch includes Larry Doolittle's work on restructuring some
of the data structures that represent the job and child_program, allowing
several simplifications and fixing several bugs.
-Erik
Matt Kraai [Mon, 18 Dec 2000 03:57:16 +0000 (03:57 -0000)]
Change calls to error_msg.* and strerror to use perror_msg.*.
Matt Kraai [Mon, 18 Dec 2000 03:08:29 +0000 (03:08 -0000)]
Add missing newlines to error messages.
Matt Kraai [Fri, 15 Dec 2000 22:34:34 +0000 (22:34 -0000)]
Rewrite nc to be simpler, smaller, and to check syscalls for errors.
Matt Kraai [Fri, 15 Dec 2000 15:41:03 +0000 (15:41 -0000)]
Only say mailing list once.
Glenn L McGrath [Fri, 15 Dec 2000 06:50:54 +0000 (06:50 -0000)]
Remove defines for ar that arent needed
Glenn L McGrath [Fri, 15 Dec 2000 06:50:09 +0000 (06:50 -0000)]
Rewrite, fix a bug with multiple long filenames, simplify structure, remove cruft, make code conform closer to style guide, saves 350 Bytes.
Matt Kraai [Fri, 15 Dec 2000 00:35:22 +0000 (00:35 -0000)]
Rewrite argv munger.
Eric Andersen [Thu, 14 Dec 2000 15:43:57 +0000 (15:43 -0000)]
Add in mkCDrec - make CD-ROM recovery project.
Matt Kraai [Thu, 14 Dec 2000 05:44:36 +0000 (05:44 -0000)]
Simplify error handling.
Matt Kraai [Thu, 14 Dec 2000 04:34:58 +0000 (04:34 -0000)]
Shutdown sending on the socket when stdin closes.
Mark Whitley [Wed, 13 Dec 2000 23:23:30 +0000 (23:23 -0000)]
Added some necessary brackets, removed debug noise.
Matt Kraai [Wed, 13 Dec 2000 19:50:48 +0000 (19:50 -0000)]
Ran aspell.
Eric Andersen [Wed, 13 Dec 2000 18:30:59 +0000 (18:30 -0000)]
Formatting fix
Eric Andersen [Wed, 13 Dec 2000 18:30:13 +0000 (18:30 -0000)]
Website update for the release
Eric Andersen [Wed, 13 Dec 2000 18:14:51 +0000 (18:14 -0000)]
Add a few folks to Authors
Eric Andersen [Wed, 13 Dec 2000 18:07:38 +0000 (18:07 -0000)]
A few more updates
Eric Andersen [Wed, 13 Dec 2000 17:59:37 +0000 (17:59 -0000)]
Document gzip -d
Eric Andersen [Wed, 13 Dec 2000 17:55:11 +0000 (17:55 -0000)]
Add GNU compatibile gzip -d
Eric Andersen [Wed, 13 Dec 2000 16:42:24 +0000 (16:42 -0000)]
Update the version number to 0.48 (no longer pre).
Eric Andersen [Wed, 13 Dec 2000 16:41:29 +0000 (16:41 -0000)]
A couple of updates to fix some minor cross compiling issues
Eric Andersen [Wed, 13 Dec 2000 15:28:48 +0000 (15:28 -0000)]
Patch from Matt Kraai:
The following patch makes the -X option to tar behave like GNU,
which reads one file per line. It also prevents the last file
from being appended to the list twice (though that has no
noticeable impact).
Eric Andersen [Wed, 13 Dec 2000 01:52:39 +0000 (01:52 -0000)]
Fix from Matt Kraai -- a better way to NULL terminate strings for the
my_* passwd and group routines. I should have thought of doing it
this way...
Eric Andersen [Tue, 12 Dec 2000 23:51:43 +0000 (23:51 -0000)]
Fix from Gennady Feldman for error msg
Eric Andersen [Tue, 12 Dec 2000 23:45:36 +0000 (23:45 -0000)]
Mem leak fix from Matt Kraai
Eric Andersen [Tue, 12 Dec 2000 23:27:48 +0000 (23:27 -0000)]
Patch from Matt Kraai to fix 'dirname /'
Eric Andersen [Tue, 12 Dec 2000 23:23:32 +0000 (23:23 -0000)]
Fix so cross compiling works again...
Eric Andersen [Tue, 12 Dec 2000 23:22:35 +0000 (23:22 -0000)]
Cleanup for proper compilation with uClibc.
Eric Andersen [Tue, 12 Dec 2000 23:20:37 +0000 (23:20 -0000)]
Mount error return code fix from Kent Robotti -- we must reset the error
code when looping...
Eric Andersen [Tue, 12 Dec 2000 23:17:26 +0000 (23:17 -0000)]
du.c error msg cleanup from Kent Robotti
Eric Andersen [Tue, 12 Dec 2000 23:13:54 +0000 (23:13 -0000)]
Fix from Matt Kraai so basename / will work as expected.
Eric Andersen [Tue, 12 Dec 2000 18:20:19 +0000 (18:20 -0000)]
Oops. Unmatched #if
Eric Andersen [Tue, 12 Dec 2000 16:55:56 +0000 (16:55 -0000)]
Some compile fixes found by Larry Doolittle
Eric Andersen [Tue, 12 Dec 2000 16:49:12 +0000 (16:49 -0000)]
Script updates for better portability
Eric Andersen [Mon, 11 Dec 2000 20:33:46 +0000 (20:33 -0000)]
Matt Kraai pointed out that we can rely on strncpy to NULL
terminate shorter cases, so we can save a few cycles...
Eric Andersen [Mon, 11 Dec 2000 20:29:13 +0000 (20:29 -0000)]
Patch from larry doolittle to make sure we don't realloc
a pointer that was not yet malloced mem.
Matt Kraai [Mon, 11 Dec 2000 20:13:37 +0000 (20:13 -0000)]
Keep unknown priorities from segfaulting.
Eric Andersen [Mon, 11 Dec 2000 19:39:25 +0000 (19:39 -0000)]
Fix spelling error s/defaut/default/g
Eric Andersen [Mon, 11 Dec 2000 19:37:19 +0000 (19:37 -0000)]
Fix non-NULL terminated strings.
Eric Andersen [Mon, 11 Dec 2000 19:28:29 +0000 (19:28 -0000)]
Fix a thinko -- when REMOTE_LOG support is compiled in,
but the user has not specified remote logging, then
be sure to log locally... duh.
Eric Andersen [Mon, 11 Dec 2000 19:14:40 +0000 (19:14 -0000)]
Patch from Matt Kraai to fox sh.c escape problem such that
running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"'
behave as under bash.
Eric Andersen [Mon, 11 Dec 2000 17:33:08 +0000 (17:33 -0000)]
Test suite update from Larry Doolittle to disable some problematic
ambiguous cases. Everything now passes the test suite...
Eric Andersen [Mon, 11 Dec 2000 17:08:21 +0000 (17:08 -0000)]
Patch from kent robotti to fix a buglet where
# du doesn't_exist
du: doesn't_exist: No such file or directory
0 doesn't_exist
which was on course wrong. I simplified it a bit...
Eric Andersen [Mon, 11 Dec 2000 16:48:50 +0000 (16:48 -0000)]
Fix the option parsing to use getopt, which seems to fix bug #1050
Eric Andersen [Mon, 11 Dec 2000 16:31:11 +0000 (16:31 -0000)]
Patch from Larry Doolittle, fix up logging across multilple lines, hopefully
fixing bug #1061.
Eric Andersen [Mon, 11 Dec 2000 16:24:16 +0000 (16:24 -0000)]
Reverse logic so when network logging, it by default does not log locally.
Eric Andersen [Mon, 11 Dec 2000 16:20:40 +0000 (16:20 -0000)]
Add a linker warning for symbol conflicts.
Eric Andersen [Sun, 10 Dec 2000 04:43:49 +0000 (04:43 -0000)]
Some .deb update
Glenn L McGrath [Sun, 10 Dec 2000 01:57:30 +0000 (01:57 -0000)]
Support for tar -z option for uncompressing only
Glenn L McGrath [Sun, 10 Dec 2000 00:51:42 +0000 (00:51 -0000)]
Introduce new function gunzip_init()
gunzip_init() will make it easier to use gunzip from other bb functions.
Glenn L McGrath [Sat, 9 Dec 2000 23:59:04 +0000 (23:59 -0000)]
NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5
This just defines that if they arent found in the kernel header
Eric Andersen [Sat, 9 Dec 2000 17:07:12 +0000 (17:07 -0000)]
Fix problem where 'du file_that_exists' doesn't work.