oweals/busybox.git
23 years agoAfter testing multi-build, I stupidly committed Config.h
Eric Andersen [Fri, 2 Feb 2001 01:08:22 +0000 (01:08 -0000)]
After testing multi-build, I stupidly committed Config.h
with nearly everything turned off.  Doh!
 -Erik

23 years agoPatch from Chris Jaeger that makes turning on and off options in the makefile
Mark Whitley [Fri, 2 Feb 2001 01:07:17 +0000 (01:07 -0000)]
Patch from Chris Jaeger that makes turning on and off options in the makefile
a bit less error prone by calling 'strip' on makefile vars before performing
truth tests against them.

23 years agoApply a patch from Larry Doolittle to add "-all" and "-none" switches
Eric Andersen [Thu, 1 Feb 2001 22:43:49 +0000 (22:43 -0000)]
Apply a patch from Larry Doolittle to add "-all" and "-none" switches
to multibuild.pl.  I did a little formatting adjustments to make it
_very_ obvious when things stop working.  I also removed the USE_PROCFS
config option -- just do the right thing when USE_DEVPS_PATCH is enabled.
 -Erik

23 years agoTightened things up a bit, saved 20 bytes, and made the code a bit clearer in
Mark Whitley [Thu, 1 Feb 2001 21:02:41 +0000 (21:02 -0000)]
Tightened things up a bit, saved 20 bytes, and made the code a bit clearer in
the process.

23 years agoApplied patch from Chris Jaeger <cjaeger@ensim.com> to do better checking for
Mark Whitley [Thu, 1 Feb 2001 19:51:13 +0000 (19:51 -0000)]
Applied patch from Chris Jaeger <cjaeger@ensim.com> to do better checking for
NFS_MOUNT_VERSION, depending on which kernel you're running.

23 years agoBuglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.
Mark Whitley [Thu, 1 Feb 2001 19:39:43 +0000 (19:39 -0000)]
Buglet: 'tabstops' is unused if BB_FEATURE_AUTOWIDTH is not defined.

23 years agoCreate find_applet_by_name function. Save 32 bytes.
Matt Kraai [Thu, 1 Feb 2001 19:21:20 +0000 (19:21 -0000)]
Create find_applet_by_name function.  Save 32 bytes.

23 years agoFix wget error message and add (and use) chomp library function.
Matt Kraai [Thu, 1 Feb 2001 16:49:30 +0000 (16:49 -0000)]
Fix wget error message and add (and use) chomp library function.

23 years agoMake old compilers not choke -- define the attribute in the func prototype.
Eric Andersen [Wed, 31 Jan 2001 23:00:46 +0000 (23:00 -0000)]
Make old compilers not choke -- define the attribute in the func prototype.

23 years agoRemoved trailing \n from error_msg{,_and_die} messages.
Matt Kraai [Wed, 31 Jan 2001 19:00:21 +0000 (19:00 -0000)]
Removed trailing \n from error_msg{,_and_die} messages.

23 years agoAdded floppyfw to list of known projects using BusyBox.
Mark Whitley [Wed, 31 Jan 2001 18:33:20 +0000 (18:33 -0000)]
Added floppyfw to list of known projects using BusyBox.

23 years agoxfopen now used by wget
Eric Andersen [Wed, 31 Jan 2001 17:50:35 +0000 (17:50 -0000)]
xfopen now used by wget
 -Erik

23 years agoPatch from Vladimir N. Oleynik to simplify wget file opening
Eric Andersen [Wed, 31 Jan 2001 17:49:47 +0000 (17:49 -0000)]
Patch from Vladimir N. Oleynik to simplify wget file opening
using xfopen (which is what everything should be using).

23 years agoCleanup patch from Vladimir N. Oleynik.
Eric Andersen [Wed, 31 Jan 2001 17:35:02 +0000 (17:35 -0000)]
Cleanup patch from Vladimir N. Oleynik.
    * mkdir: remove 3 lines in source code.
    * mkfs_minix: save 32 bytes, remove 4 bugs.
    * mkswap: save 64 bytes, remove 1 bug.

23 years agoPatch from Vladimir N. Oleynik to simplify/cleanup a few things in init.c
Eric Andersen [Wed, 31 Jan 2001 17:29:47 +0000 (17:29 -0000)]
Patch from Vladimir N. Oleynik to simplify/cleanup a few things in init.c

23 years agoPatch from Vladimir N. Oleynik to simplify how it decides which
Eric Andersen [Wed, 31 Jan 2001 17:29:12 +0000 (17:29 -0000)]
Patch from Vladimir N. Oleynik to simplify how it decides which
app was invoked.  This removes several strcmp calls.

23 years agoWrap a table (bg set to black, width=80%) around the screenshot
Eric Andersen [Wed, 31 Jan 2001 17:14:17 +0000 (17:14 -0000)]
Wrap a table (bg set to black, width=80%) around the screenshot
so it doesn't look like crap in Netscape.  Should look fine in
Mozilla either way.  I think.
 -Erik

23 years agoMake it validate.
Matt Kraai [Wed, 31 Jan 2001 02:13:05 +0000 (02:13 -0000)]
Make it validate.

23 years agoClose IMG tag.
Matt Kraai [Wed, 31 Jan 2001 01:59:46 +0000 (01:59 -0000)]
Close IMG tag.

23 years agoPatch from Larry Doolittle to reduce the chance that fussing with VPATH will
Eric Andersen [Wed, 31 Jan 2001 01:38:05 +0000 (01:38 -0000)]
Patch from Larry Doolittle to reduce the chance that fussing with VPATH will
break cross-compilation.
 -Erik

23 years agoIf the ioctl fails to tell us the winsize, default to 79.
Eric Andersen [Wed, 31 Jan 2001 00:30:45 +0000 (00:30 -0000)]
If the ioctl fails to tell us the winsize, default to 79.
 -Erik

23 years agoPatch from Bryan Rittmeyer -- be more conservative by default
Eric Andersen [Tue, 30 Jan 2001 23:40:39 +0000 (23:40 -0000)]
Patch from Bryan Rittmeyer -- be more conservative by default
with the lash prompt.
 -Erik

23 years agoAdded a new screenshot of Busybox. :-)
Mark Whitley [Tue, 30 Jan 2001 23:37:15 +0000 (23:37 -0000)]
Added a new screenshot of Busybox. :-)

23 years agoFix the pwd and group functions. The bb_ stuff was a leftover from
Eric Andersen [Tue, 30 Jan 2001 22:23:17 +0000 (22:23 -0000)]
Fix the pwd and group functions.  The bb_ stuff was a leftover from
a brief past that mercifully (except for this) never made it into CVS.
 -Erik

23 years agoFix a stupid typo -- bug found by Larry Doolittle.
Eric Andersen [Tue, 30 Jan 2001 19:23:46 +0000 (19:23 -0000)]
Fix a stupid typo -- bug found by Larry Doolittle.

23 years agoApplied patch from Larry Doolittle to use preprocessor for defining
Mark Whitley [Tue, 30 Jan 2001 18:53:42 +0000 (18:53 -0000)]
Applied patch from Larry Doolittle to use preprocessor for defining
NFS_MOUNT_VERSION.

23 years agoFix ls behavior for broken or very narrow terminals. Fix my_*
Eric Andersen [Tue, 30 Jan 2001 18:03:11 +0000 (18:03 -0000)]
Fix ls behavior for broken or very narrow terminals.  Fix my_*
functions so they comply with the original interface (i.e. don't
exit on error, stringify uids and gids when no amtching name found).
 -Erik

23 years agoTest applets containing numbers in their name. Thanks to Larry Doolittle.
Matt Kraai [Mon, 29 Jan 2001 19:00:48 +0000 (19:00 -0000)]
Test applets containing numbers in their name.  Thanks to Larry Doolittle.

23 years agoFix missing header file.
Matt Kraai [Mon, 29 Jan 2001 18:41:12 +0000 (18:41 -0000)]
Fix missing header file.

23 years agoFix up copyright msgs. Bump version to 0.49 in preparation for 0_49
Eric Andersen [Sat, 27 Jan 2001 09:33:39 +0000 (09:33 -0000)]
Fix up copyright msgs.  Bump version to 0.49 in preparation for
a release.  Update the website with release details.
 -Erik

23 years agoFix some formatting
Eric Andersen [Sat, 27 Jan 2001 08:32:57 +0000 (08:32 -0000)]
Fix some formatting

23 years agoFix header file usage -- there were many unnecessary header files included in
Eric Andersen [Sat, 27 Jan 2001 08:24:39 +0000 (08:24 -0000)]
Fix header file usage -- there were many unnecessary header files included in
busybox.h which slowed compiles.  I left only what was needed and then fixed up
all the apps to include their own header files.  I also fixed naming for pwd.h
and grp.h functions.  Tested to compile and run with libc5, glibc, and uClibc.
 -Erik

23 years agoAdd in a patch to make busybox use the normal pwd.h and grp.h
Eric Andersen [Sat, 27 Jan 2001 06:01:43 +0000 (06:01 -0000)]
Add in a patch to make busybox use the normal pwd.h and grp.h
functions.  Add in simple implementations of these functions,
which can, optionally, be used instead of the system versions.
 -Erik

23 years agoApplied patch from Larry Doolittle to list supported arches, libcs and kernels
Mark Whitley [Fri, 26 Jan 2001 20:58:23 +0000 (20:58 -0000)]
Applied patch from Larry Doolittle to list supported arches, libcs and kernels

23 years agoApplied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completion
Mark Whitley [Fri, 26 Jan 2001 20:42:23 +0000 (20:42 -0000)]
Applied patch from Vladimir N. Oleynik <dzo@simtreas.ru> to do tab-completion
in Busybox shell.  (Thanks, Vlad.)

23 years agoCleanup patch from larry doolittle
Eric Andersen [Fri, 26 Jan 2001 20:31:02 +0000 (20:31 -0000)]
Cleanup patch from larry doolittle
 -Erik

23 years agoFixed a li'l thinko.
Mark Whitley [Fri, 26 Jan 2001 19:19:23 +0000 (19:19 -0000)]
Fixed a li'l thinko.

23 years agoFix my braindamage -- remove termios and sighandling since they are not
Eric Andersen [Fri, 26 Jan 2001 18:30:12 +0000 (18:30 -0000)]
Fix my braindamage -- remove termios and sighandling since they are not
needed at all.  My bad.
 -Erik

23 years agoI am an idiot. Looking over my patch, ls doesn't need to do anything
Eric Andersen [Fri, 26 Jan 2001 18:09:13 +0000 (18:09 -0000)]
I am an idiot.  Looking over my patch, ls doesn't need to do anything
more then the ioctl to get the win size.   None of the termios handling
crap is needed.
 -Erik

23 years agoMake cin be static
Eric Andersen [Fri, 26 Jan 2001 06:50:46 +0000 (06:50 -0000)]
Make cin be static

23 years agoUpdate the arch-not-yet-supported msg to be more clear.
Eric Andersen [Fri, 26 Jan 2001 02:23:57 +0000 (02:23 -0000)]
Update the arch-not-yet-supported msg to be more clear.

23 years agoAdd errno.h
Eric Andersen [Fri, 26 Jan 2001 02:04:49 +0000 (02:04 -0000)]
Add errno.h

23 years agoMake ls understand termios.
Eric Andersen [Fri, 26 Jan 2001 01:52:43 +0000 (01:52 -0000)]
Make ls understand termios.
 -Erik

23 years agoFix a stupid bug I introduced yesterday. Doh!
Eric Andersen [Fri, 26 Jan 2001 01:52:14 +0000 (01:52 -0000)]
Fix a stupid bug I introduced yesterday.  Doh!
 -Erik

23 years agoUpdate some comments to clarify things.
Eric Andersen [Fri, 26 Jan 2001 00:11:54 +0000 (00:11 -0000)]
Update some comments to clarify things.

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.