aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-04Remove trailing crud from busybox.tests. (Sleep deprivation strikes again...)Rob Landley
2005-09-04General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley
(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
2005-09-02touchup some grammar, formatting, and remove some outdated notesMike Frysinger
2005-09-02update the verbage describing what is needed for developer accessEric Andersen
2005-09-02This goes along with the new testsuite code...Rob Landley
2005-09-02Working on a new test harness. Moved the sort tests into it.Rob Landley
2005-09-02Missing break was screwing up 'y//' command. Bug #248.Rob Landley
2005-09-01Fix for bug 383: attempting to "tar c /" would error out because strippingRob Landley
trailing / turns that into an empty string.
2005-09-01According to bug #63, crond is unhappy with crontab lines that don't end in aRob Landley
newline, or lines that have trailing spaces.
2005-09-01Tracking system but #4: php needs the environment variable SCRIPT_FILENAME.Rob Landley
2005-09-01Bernhard Fischer trimmed down dos2unix a bit.Rob Landley
2005-09-01Patch -i support from Berhnard Fischer.Rob Landley
2005-09-01Bernhard Fischer suggested that get_terminal_width_height() should returnRob Landley
the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...)
2005-09-01Off by one error in max_leases sanity check. Bug 349, apparently.Rob Landley
2005-09-01Bernhard Fischer sent a patch to make "make sizes" work when building inRob Landley
another output directory.
2005-09-01Busybox should only multiplex based on argv[1] when it's called as "busybox".Rob Landley
Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet. (You also get the wrong behavior; it tries to use argv[1] as the command name just like busybox does for _any_ unknown, and although I doubt "echo rm -rf *" is common usage there's no upside and enough downside to make me nervous.) This fixes it.
2005-08-31Anand Avati hit an integer overflow problem in our unzip code.Rob Landley
2005-08-30Don't comment warnings, _FIX_ warnings. (And putting in #warnings aboutRob Landley
other warnings is just gross.) On a side note, while I was there, I made the code slightly smaller.
2005-08-30Why have a separate CONFIG_INIT_SWAPON when we already have CONFIG_SWAPONOFF?Rob Landley
2005-08-30Bug system entry #1 says that when busybox doesn't have swapoff,Rob Landley
init shouldn't call swapoff.
2005-08-30Amir Shalem found some bugs in the new mount code; unknown options didn't getRob Landley
added to the list, and my assumption that nfsmount() actually called mount() was incorrect (and I coded it wrong anyway; I hate having to touch codepaths I can't personally test).
2005-08-30Dirk Clemens pointed out how easy it is to support bzip2 compression, since weRob Landley
shell out to an external program to handle gzip anyway...
2005-08-28point to busybox.netEric Andersen
2005-08-28Dumb little hack, "make sizes". Try it.Rob Landley
2005-08-27make sure __NF_sysfs exists before trying to use itMike Frysinger
2005-08-27some portability fixes by rmh in Bug 395Mike Frysinger
2005-08-24Bernhard Fischer submitted a couple of Makefile patches:Rob Landley
- Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
2005-08-23Remove something we did, not that I'm doing something, and add something weRob Landley
haven't done. Woo.
2005-08-23When compiling with FEATURE_MTAB_SUPPORT disabled, the call to erase_mtab()Rob Landley
can never be made because useMtab is initialized to 0, and all the other assignments of that variable assign 0 to it. Any compiler that can perform simple constant propogation on local variables will optimize away if statements testing against that variable, thus the call to erase_mtab() will never be made. When compiling for arm using gcc 3.3.3 with FEATURE_MTAB_SUPPORT disabled, the linker complains that it can't find erase_mtab(). The arm optimizer isn't exactly the brightest member of the family, and apparently needs to be hit over the head with a hammer to get its' attention...
2005-08-22Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.Rob Landley
2005-08-20Bernhard Fischer provided a mountpoint(1) applet. This is apparently somethingRob Landley
sysvinit provides, and which is used by the debian init scripts.
2005-08-17Announce busybox 1.01.Rob Landley
2005-08-17Tito (among others) writes: previous patch was wrong, please stop screwing ↵Mike Frysinger
things up
2005-08-17When doing 'make release' nuke the .svn directories, not theEric Andersen
CVS dirs (since they are no longer present)
2005-08-16the () around isspace actually mattersMike Frysinger
2005-08-16Bernhard Fischer says: use xmalloc() instead of malloc()Mike Frysinger
2005-08-16Bernhard Fischer says: fix comment typoMike Frysinger
2005-08-15Bernhard Fischer writes: fix devfsd usageMike Frysinger
2005-08-14If we goto singlemount, do _not_ try to continue through the loop we jumpedRob Landley
into. (That means "mount -t ext2 /dev/thingy thingy" would segfault if it failed instead of giving us an error message.)
2005-08-14Patch from Stephane Billiart to improve ash error message.Rob Landley
2005-08-14Stephane Billiart noticed that the return code of the new mount was horked.Rob Landley
(Cleaned up the return code path to consistently use numbers so I don't keep confusing EXIT_SUCCESS with TRUE and EXIT_FAILURE with FALSE...)
2005-08-13Very minor tweak to tail.Rob Landley
2005-08-11make sure distclean punts include/bbconfigopts.hMike Frysinger
2005-08-10Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley
things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
2005-08-09implemented a builtin echo command in ash. moved the guts of thePaul Fox
echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
2005-08-04commiting:Paul Fox
0000025: vi-editing mode for ash
2005-08-04applying jim bauer's patch to eliminate modprobe's dependencyPaul Fox
on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell
2005-08-02In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andRob Landley
obvious (and less side-effect prone in strange build environments) BB_CONFIG_H. Yeah, I know Erik ripped it out of our copy of menuconfig (which is a good thing), but that doesn't fix people whose headers have it inherited from linux-kernel headers or old versions of uclibc, and Erik's fix could easily get forgotten and reverted the next time we update menuconfig anyway...
2005-08-02Do not define 'AUTOCONF_INCLUDED'Eric Andersen
2005-08-01commiting:Paul Fox
0000028 03-16-05 patch: new setsid applet