oweals/busybox.git
23 years agoCommit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
Eric Andersen [Thu, 25 Jan 2001 23:49:09 +0000 (23:49 -0000)]
Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.
 -Erik

23 years agoAdd in spoon's watchdog timer app.
Eric Andersen [Thu, 25 Jan 2001 23:40:32 +0000 (23:40 -0000)]
Add in spoon's watchdog timer app.
 -Erik

23 years agoBecause you demanded it, source tree snapshots are made available daily.
Mark Whitley [Thu, 25 Jan 2001 23:29:58 +0000 (23:29 -0000)]
Because you demanded it, source tree snapshots are made available daily.

23 years agoAdded Linux on nanoEngine to the list of known users.
Mark Whitley [Thu, 25 Jan 2001 23:00:12 +0000 (23:00 -0000)]
Added Linux on nanoEngine to the list of known users.

23 years agoUpdate contact info.
Eric Andersen [Thu, 25 Jan 2001 22:00:37 +0000 (22:00 -0000)]
Update contact info.

23 years agoApply a patch from Brent Priddy <brent.priddy@adtran.com> to add
Eric Andersen [Thu, 25 Jan 2001 05:12:02 +0000 (05:12 -0000)]
Apply a patch from Brent Priddy <brent.priddy@adtran.com> to add
'id -n' support.
 -Erik

23 years agoI just wrote 'insmod -o' to close bug#1049.
Eric Andersen [Thu, 25 Jan 2001 04:11:06 +0000 (04:11 -0000)]
I just wrote 'insmod -o' to close bug#1049.

23 years agoTar, by itself, could fail.
Eric Andersen [Thu, 25 Jan 2001 00:53:46 +0000 (00:53 -0000)]
Tar, by itself, could fail.

23 years agoCleanup from Larry Doolittle
Eric Andersen [Thu, 25 Jan 2001 00:47:31 +0000 (00:47 -0000)]
Cleanup from Larry Doolittle

23 years agoFix for dpkg-deb, courtesy of Larry Doolittle.
Eric Andersen [Thu, 25 Jan 2001 00:45:52 +0000 (00:45 -0000)]
Fix for dpkg-deb, courtesy of Larry Doolittle.
 -Erik

23 years agoAdd in Larry's CUSTOMIZED_BANNER patchlet, and let folks know that
Eric Andersen [Thu, 25 Jan 2001 00:04:16 +0000 (00:04 -0000)]
Add in Larry's CUSTOMIZED_BANNER patchlet, and let folks know that
BB_FEATURE_INIT_CHROOT needs to be rewritten to use pivot_root.
 -Erik

23 years agoMore regression testing found buglets
Eric Andersen [Thu, 25 Jan 2001 00:00:04 +0000 (00:00 -0000)]
More regression testing found buglets

23 years agoBug fix and small create_module cleanup from Larry Doolittle to
Eric Andersen [Wed, 24 Jan 2001 23:59:50 +0000 (23:59 -0000)]
Bug fix and small create_module cleanup from Larry Doolittle to
fix insmod, since I broke var=value args when I getopt'ified it.

23 years agoOops. I am an idiot. Put CFLAGS_EXTRA back. Sorry 'bout that.
Eric Andersen [Wed, 24 Jan 2001 23:53:43 +0000 (23:53 -0000)]
Oops.  I am an idiot.  Put CFLAGS_EXTRA back.  Sorry 'bout that.
 -Erik

23 years agoMore regression-found bug fixes
Eric Andersen [Wed, 24 Jan 2001 23:47:21 +0000 (23:47 -0000)]
More regression-found bug fixes

23 years agomore bugs fixed -- found doing regression testing
Eric Andersen [Wed, 24 Jan 2001 23:34:48 +0000 (23:34 -0000)]
more bugs fixed -- found doing regression testing
 -Erik

23 years agoCleanup for build problem found using regression script
Eric Andersen [Wed, 24 Jan 2001 22:46:16 +0000 (22:46 -0000)]
Cleanup for build problem found using regression script

23 years agoFix _old_ bug so that the regression test actually works.
Eric Andersen [Wed, 24 Jan 2001 22:09:46 +0000 (22:09 -0000)]
Fix _old_ bug so that the regression test actually works.
 -Erik

23 years agoSome behavioral updates to wget so it acts a bit nicer.
Eric Andersen [Wed, 24 Jan 2001 20:28:35 +0000 (20:28 -0000)]
Some behavioral updates to wget so it acts a bit nicer.
 -Erik

23 years agoFix up insmod usage info to mention -L
Eric Andersen [Wed, 24 Jan 2001 19:15:07 +0000 (19:15 -0000)]
Fix up insmod usage info to mention -L

23 years agoMake insmod understand (and ignore) -L, and convert it to use getopt.
Eric Andersen [Wed, 24 Jan 2001 19:07:09 +0000 (19:07 -0000)]
Make insmod understand (and ignore) -L, and convert it to use getopt.

23 years agoUpdate comments re netkit-tiny...
Eric Andersen [Wed, 24 Jan 2001 18:47:30 +0000 (18:47 -0000)]
Update comments re netkit-tiny...
 -Erik

23 years agoRemove the warning messages. By consensus, netkit-tiny doesn't
Eric Andersen [Wed, 24 Jan 2001 18:44:54 +0000 (18:44 -0000)]
Remove the warning messages.  By consensus, netkit-tiny doesn't
need to happen.

23 years agoFix spelling. s/maintainence/maintenance/
Eric Andersen [Wed, 24 Jan 2001 17:37:07 +0000 (17:37 -0000)]
Fix spelling.  s/maintainence/maintenance/

23 years ago - Added a section on avoiding static buffers, per mailing list discussions
Mark Whitley [Wed, 24 Jan 2001 00:18:13 +0000 (00:18 -0000)]
 - Added a section on avoiding static buffers, per mailing list discussions
 - Added a section on avoiding dangerous, overrun-prone string functions, per
   mailing list comment by David Douthitt
 - Added comment on how to search-and-replace in multiple files per (very old)
   mailing list comment by Larry Doolittle.

23 years agoFixed tiny typo.
Mark Whitley [Tue, 23 Jan 2001 22:31:10 +0000 (22:31 -0000)]
Fixed tiny typo.

23 years ago#define -> static const int. Also got rid of some big static buffers.
Mark Whitley [Tue, 23 Jan 2001 22:30:04 +0000 (22:30 -0000)]
#define -> static const int. Also got rid of some big static buffers.

23 years agoBug fix.
Eric Andersen [Tue, 23 Jan 2001 00:27:51 +0000 (00:27 -0000)]
Bug fix.

23 years agoRemove host* applets from the default build.
Eric Andersen [Mon, 22 Jan 2001 22:51:08 +0000 (22:51 -0000)]
Remove host* applets from the default build.

23 years agoFix silly typo
Eric Andersen [Mon, 22 Jan 2001 22:50:01 +0000 (22:50 -0000)]
Fix silly typo

23 years agoWarn about apps that will be going away in release 0.50
Eric Andersen [Mon, 22 Jan 2001 22:48:42 +0000 (22:48 -0000)]
Warn about apps that will be going away in release 0.50
 -Erik

23 years agoAdd HUMAN_READABLE define for -m and -h support in du, df, and ls
Richard June [Mon, 22 Jan 2001 22:35:38 +0000 (22:35 -0000)]
Add HUMAN_READABLE define for -m and -h support in du, df, and ls
Add support for -k in du, df, and ls(no define, it's for compatibliity with the GNU utils as bb does -k by default)
Fix bug #1084

23 years agoUse getopt (or getopt_long).
Matt Kraai [Mon, 22 Jan 2001 20:49:00 +0000 (20:49 -0000)]
Use getopt (or getopt_long).

23 years agoFixed listed files to extract to be more like GNU. Reported by Deon George.
Matt Kraai [Mon, 22 Jan 2001 05:25:19 +0000 (05:25 -0000)]
Fixed listed files to extract to be more like GNU.  Reported by Deon George.

23 years agoPatch from Larry Doolittle to close bug #1086.
Eric Andersen [Mon, 22 Jan 2001 01:05:04 +0000 (01:05 -0000)]
Patch from Larry Doolittle to close bug #1086.
 -Erik

23 years agoUpdate time
Eric Andersen [Sun, 21 Jan 2001 02:59:23 +0000 (02:59 -0000)]
Update time

23 years agoFix naming to reflect reality
Eric Andersen [Sat, 20 Jan 2001 21:51:21 +0000 (21:51 -0000)]
Fix naming to reflect reality

23 years agoMove \n to inside TRIVIAL_HELP, to save a few bytes for the default case.
Eric Andersen [Sat, 20 Jan 2001 21:45:57 +0000 (21:45 -0000)]
Move \n to inside TRIVIAL_HELP, to save a few bytes for the default case.
Patch from Vladimir N. Oleynik <dzo@simtreas.ru>

23 years agodjust debian build targets
Eric Andersen [Sat, 20 Jan 2001 21:43:43 +0000 (21:43 -0000)]
djust debian build targets

23 years agolean up a potential error, thanks to Vladimir N. Oleynik <dzo@simtreas.ru>.
Eric Andersen [Sat, 20 Jan 2001 21:41:11 +0000 (21:41 -0000)]
lean up a potential error, thanks to Vladimir N. Oleynik <dzo@simtreas.ru>.

23 years agoClarify the statusbar config option so it states which applet it applies to.
Eric Andersen [Sat, 20 Jan 2001 20:07:00 +0000 (20:07 -0000)]
Clarify the statusbar config option so it states which applet it applies to.

23 years agoAdjust the default feature set a wee bit
Eric Andersen [Sat, 20 Jan 2001 19:48:21 +0000 (19:48 -0000)]
Adjust the default feature set a wee bit

23 years agoApply a patch from Vladimir N. Oleynik <dzo@simtreas.ru>,
Eric Andersen [Sat, 20 Jan 2001 16:22:58 +0000 (16:22 -0000)]
Apply a patch from Vladimir N. Oleynik <dzo@simtreas.ru>,
and thereby save 64 bytes.
 -Erik

23 years agoClose files before exit
Glenn L McGrath [Sat, 20 Jan 2001 06:23:54 +0000 (06:23 -0000)]
Close files before exit

23 years agoMore printf cleanups
Eric Andersen [Sat, 20 Jan 2001 01:10:07 +0000 (01:10 -0000)]
More printf cleanups

23 years agoClose unused pipe handle before fork (for tar -z).
Glenn L McGrath [Sat, 20 Jan 2001 00:12:21 +0000 (00:12 -0000)]
Close unused pipe handle before fork (for tar -z).

23 years agoAll files include busybox.h, which includes applets.h, so the Makefile
Matt Kraai [Thu, 18 Jan 2001 03:03:09 +0000 (03:03 -0000)]
All files include busybox.h, which includes applets.h, so the Makefile
should reflect this.  Thanks to Vladimir N. Oleynik for the idea.

23 years agoEliminate calls of the form "fprintf(stdout,". Thanks for the idea to
Matt Kraai [Thu, 18 Jan 2001 02:57:08 +0000 (02:57 -0000)]
Eliminate calls of the form "fprintf(stdout,".  Thanks for the idea to
Vladimir N. Oleynik.

23 years agoComplicate truncate behavior.
Matt Kraai [Wed, 17 Jan 2001 00:21:05 +0000 (00:21 -0000)]
Complicate truncate behavior.

23 years agoFix the exit status of umount -a, a casualty of the TRUE/FALSE normalization.
Matt Kraai [Wed, 17 Jan 2001 00:12:11 +0000 (00:12 -0000)]
Fix the exit status of umount -a, a casualty of the TRUE/FALSE normalization.
Thanks to Francois-R Boyer <boyerf@IRO.UMontreal.CA> for the report.

23 years agoShow an example of how to compile with uClibc.
Eric Andersen [Tue, 16 Jan 2001 21:20:46 +0000 (21:20 -0000)]
Show an example of how to compile with uClibc.
 -Erik

23 years agoFix ownership of extracted directories.
Matt Kraai [Sat, 13 Jan 2001 21:46:25 +0000 (21:46 -0000)]
Fix ownership of extracted directories.

23 years agoRemoved unused, unneeded, Lineo-specific script.
Mark Whitley [Tue, 9 Jan 2001 23:09:45 +0000 (23:09 -0000)]
Removed unused, unneeded, Lineo-specific script.

23 years agoNeeds to be NULL at init in all cases.
Eric Andersen [Fri, 5 Jan 2001 21:23:44 +0000 (21:23 -0000)]
Needs to be NULL at init in all cases.

23 years agoChangelog update/cleanup from larry.
Eric Andersen [Fri, 5 Jan 2001 21:01:01 +0000 (21:01 -0000)]
Changelog update/cleanup from larry.

23 years agoPatch from larry doolittle to be ever so careful to cleanup
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.

23 years agoBetter label the globals.
Eric Andersen [Fri, 5 Jan 2001 19:37:32 +0000 (19:37 -0000)]
Better label the globals.

23 years agoPatch from Larry Doolittle to set values to static variables that live in the
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

23 years agoTurned some #define constants into static const ints.
Mark Whitley [Fri, 5 Jan 2001 18:19:30 +0000 (18:19 -0000)]
Turned some #define constants into static const ints.

23 years agoRewrote tail.
Matt Kraai [Fri, 5 Jan 2001 02:57:53 +0000 (02:57 -0000)]
Rewrote tail.

23 years agoFix a segfault by only constructing the prompt when we need to. If we don't
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.

23 years agoChanged email address to codepoet.org, updated list of applets / docs I
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.

23 years agoIncluded name of Larry Doolittle's build test script. Shameless self-crediting
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.

23 years agoUpdate to changelog -- mostly from Larry Doolittle.
Eric Andersen [Thu, 4 Jan 2001 21:14:15 +0000 (21:14 -0000)]
Update to changelog -- mostly from Larry Doolittle.

23 years agoFixed -qv interaction (thanks to a report and patch from David Douthitt).
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).

23 years agoMove window size handling to cmdedit.c. Move prompt setup to setup_prompt_string()
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()

23 years agoUpdate interface per what now exists...
Eric Andersen [Thu, 4 Jan 2001 11:09:00 +0000 (11:09 -0000)]
Update interface per what now exists...

23 years agoCleanup -- move win handling to cmdedit.c, static-ify many functions.
Eric Andersen [Thu, 4 Jan 2001 11:08:45 +0000 (11:08 -0000)]
Cleanup -- move win handling to cmdedit.c, static-ify many functions.

23 years agoFix symbol table manipulation (report and fix by Larry Doolittle).
Matt Kraai [Thu, 4 Jan 2001 02:00:17 +0000 (02:00 -0000)]
Fix symbol table manipulation (report and fix by Larry Doolittle).

23 years agoAdded new script from Larry Doolittle that builds each applet individually.
Mark Whitley [Thu, 4 Jan 2001 01:05:55 +0000 (01:05 -0000)]
Added new script from Larry Doolittle that builds each applet individually.

23 years agoBehave like GNU tar when matching excluded files.
Matt Kraai [Wed, 3 Jan 2001 17:22:10 +0000 (17:22 -0000)]
Behave like GNU tar when matching excluded files.

23 years agoPrevent / doubling and shrink parse_url.
Matt Kraai [Wed, 3 Jan 2001 16:15:15 +0000 (16:15 -0000)]
Prevent / doubling and shrink parse_url.

23 years agoFix warning for unused variable
Glenn L McGrath [Wed, 3 Jan 2001 01:44:49 +0000 (01:44 -0000)]
Fix warning for unused variable

23 years agoenable is_direcotry() for dpkg-deb
Glenn L McGrath [Wed, 3 Jan 2001 01:38:29 +0000 (01:38 -0000)]
enable is_direcotry() for dpkg-deb

23 years agoAdd dpkg-deb documentation
Glenn L McGrath [Wed, 3 Jan 2001 01:06:30 +0000 (01:06 -0000)]
Add dpkg-deb documentation

23 years agoDisable a bunch of less common stuff by default. This produces
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.

23 years agoLogger forgot to NULL terminate strings from stdin.
Eric Andersen [Wed, 3 Jan 2001 00:06:46 +0000 (00:06 -0000)]
Logger forgot to NULL terminate strings from stdin.

23 years agoreally add dpkg-deb.c this time
Glenn L McGrath [Tue, 2 Jan 2001 23:49:26 +0000 (23:49 -0000)]
really add dpkg-deb.c this time

23 years agoadd dpkg-deb command
Glenn L McGrath [Tue, 2 Jan 2001 23:41:50 +0000 (23:41 -0000)]
add dpkg-deb command

23 years agoUpdate logger usage information.
Matt Kraai [Tue, 2 Jan 2001 22:54:12 +0000 (22:54 -0000)]
Update logger usage information.

23 years agoLog stdin when no message given and use getopt.
Matt Kraai [Tue, 2 Jan 2001 18:13:58 +0000 (18:13 -0000)]
Log stdin when no message given and use getopt.

23 years agoI just whipped up support for arbitrary regex delimiters, so
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

23 years agoBetter dmalloc handling
Eric Andersen [Tue, 2 Jan 2001 01:16:38 +0000 (01:16 -0000)]
Better dmalloc handling

23 years agoBe more careful about dmalloc handling
Eric Andersen [Tue, 2 Jan 2001 01:16:02 +0000 (01:16 -0000)]
Be more careful about dmalloc handling

23 years agoImprovements from Vladimir N. Oleynik.
Matt Kraai [Sat, 30 Dec 2000 07:46:23 +0000 (07:46 -0000)]
Improvements from Vladimir N. Oleynik.

23 years agoFix lower casing for weird locales.
Matt Kraai [Tue, 26 Dec 2000 16:36:10 +0000 (16:36 -0000)]
Fix lower casing for weird locales.

23 years agoCleanup from Gennady Feldman <gfeldman@mail.com>
Eric Andersen [Fri, 22 Dec 2000 18:02:02 +0000 (18:02 -0000)]
Cleanup from Gennady Feldman <gfeldman@mail.com>

23 years agoUse busybox error handling functions wherever possible.
Matt Kraai [Fri, 22 Dec 2000 01:48:07 +0000 (01:48 -0000)]
Use busybox error handling functions wherever possible.

23 years agoAnother sh.c patch from Larry Doolittle. This makes redirects work properly
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.

23 years agoMake more things be static (like they are supposed to be).
Eric Andersen [Wed, 20 Dec 2000 23:40:57 +0000 (23:40 -0000)]
Make more things be static (like they are supposed to be).

23 years agoBump the version number to 0.49pre
Eric Andersen [Wed, 20 Dec 2000 23:22:29 +0000 (23:22 -0000)]
Bump the version number to 0.49pre

23 years agoTurns out, md5sum was broken anyways. It uses backwards TRUE/FALSE
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...

23 years agoFix a warning in sh.c. Remove use of getline() in md5sum since
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...

23 years agoSome corrections, some additions, some embellishments.
Mark Whitley [Wed, 20 Dec 2000 22:35:12 +0000 (22:35 -0000)]
Some corrections, some additions, some embellishments.

23 years agoRewrote.
Matt Kraai [Wed, 20 Dec 2000 20:49:56 +0000 (20:49 -0000)]
Rewrote.

23 years agoFix a stupid naming error.
Eric Andersen [Wed, 20 Dec 2000 20:41:02 +0000 (20:41 -0000)]
Fix a stupid naming error.

23 years agoBe sure to read from the given path, not the one used in the header.
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.

23 years agoMore spelling fixes from Larry Doolittle.
Mark Whitley [Tue, 19 Dec 2000 19:44:35 +0000 (19:44 -0000)]
More spelling fixes from Larry Doolittle.

23 years agoAdded a paragraph from Larry Dolittle, made some more section headers.
Mark Whitley [Tue, 19 Dec 2000 17:54:38 +0000 (17:54 -0000)]
Added a paragraph from Larry Dolittle, made some more section headers.

23 years agoNew applet HOWTO. Written by Matt Kraai with some formating and additions by me.
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.