aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-09-05Regarding 11330: when you fix a bug that the testsuite doesn't catch, addRob Landley
a test case to the test suite.
2005-09-05destroy bug [0000381]"Vladimir N. Oleynik"
2005-09-05destroy bug [0000404]"Vladimir N. Oleynik"
2005-09-05- usage fresh bb_getopt_ulflags for ls -- very size reduce."Vladimir N. Oleynik"
- small indent corrections - remove unecessary malloc and free
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-09-051) sync with dash_0.5.2-7"Vladimir N. Oleynik"
2) but expand PS# as config option 3) correct kill error message again 4) remove show "line number" for interactive run (patch pending for dash)
2005-09-05remove infinity loop ./busybox --help busybox"Vladimir N. Oleynik"
2005-09-05The previous commit left confdata writing out:Rob Landley
CONFIG_NUMERIC_CONSTANT= And on reading it back in, it would complain that '' was an invalid value for that field. I.E. "make allnoconfig && make" worked fine, but "make allnoconfig && make menuconfig" barfed reading in the config file. So now I have it write out "0" as the blank value. (It's initialized to the default value when the menu becomes visible anyway; I checked.) That seems to work.
2005-09-05Now that "make sizes" is in, the faq should mention it...Rob Landley
2005-09-05Fix the warnings, and fix the following two obvious segfaults:Rob Landley
./busybox getopt -n one -n two woot ./busybox getopt -o one -o two woot This entire applet is still an enormous pile of garbage, which I can't clean up because I really have no idea what it's for. (Both "man getopt" and trying it out on the command line a bit fail to enlighten me. Reading the code, the fact half of it seems to be special cases for bash vs tcsh does not fill me with confidence.)
2005-09-05Actually returning ret might be good.Rob Landley
2005-09-05Fixes so "make allnoconfig" works again.Rob Landley
The configure system's save function edited out sub-menus that wouldn't be displayed in the current configuration, meaning config.h wouldn't have #udef entries for those symbols, meaning bb_config.h would have the relevant ENABLE_ missing instead of defined to 0. This broke the build. So I fixed it, and then reorganized the applets.c and busybox.c to take away the warnings this revealed (code that would be optimized out was making calls to functions that hadn't been prototyped. So I added an #else case to those #ifdefs to #define the relevant functions to empty macros to placate the warnings. I also reorganized the applets.c code to make adding such an #else case less of a pain (and make the need for prototyping go away by moving the functions up before they were used, and generally wind up with fewer #ifdefs in the code by putting all the logic in one place). This resulted in a huge seeming patch, when most if it just moves code from one place to another without touching it... Upside: make allyesconfig and make allnoconfig should both work now.
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