aboutsummaryrefslogtreecommitdiff
path: root/applets/applets.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* do not put all <applet>_main() declarationsDenis Vlasenko2007-02-031-1/+6
| | | | in busybox.h - this produces false dependencies
* preparatory patch for -Wwrite-strings #1Denis Vlasenko2007-01-291-3/+3
|
* accumulated post-1.4.0 fixesDenis Vlasenko2007-01-241-9/+15
|
* random tiny size savingsDenis Vlasenko2006-12-241-8/+10
|
* A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko2006-12-181-3/+3
|
* wget: fix error message.Denis Vlasenko2006-11-101-1/+1
| | | | | | | | | | | | | | | Bad: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 : HTTP/1.0 404 Not Foundror 404 Not Found Good: wget http://127.0.0.1:81/fgdg/Makefile Connecting to 127.0.0.1[127.0.0.1]:81 get: server returned error: HTTP/1.0 404 Not Found nslookup: fix my mistake applets: make Bernhard Fischer <rep.nop@aon.at> happy :)
* add && !defined(__UCLIBC__) to static link warning checkDenis Vlasenko2006-11-091-1/+2
|
* mostly style fixesDenis Vlasenko2006-11-011-1/+1
|
* "#warning: http://...." doesn't work (gcc thinks that it's a comment!)Denis Vlasenko2006-10-291-1/+1
|
* __GLIBC__ -> defined(__GLIBC__)Denis Vlasenko2006-10-231-1/+1
|
* Added compile-time warning for STATIC+GLIBC buildDenis Vlasenko2006-10-201-0/+7
|
* message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko2006-10-201-3/+3
|
* mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko2006-10-161-5/+5
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-2/+2
|
* build system overhaulDenis Vlasenko2006-10-051-2/+0
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko2006-10-031-1/+1
|
* applets.c: fix indentationDenis Vlasenko2006-09-231-64/+64
|
* Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, IRob Landley2006-07-261-1/+1
| | | | already have that one, but it moves up the list...)
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-33/+24
| | | | xlseek and fdlength() for the new mkswap.
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley2006-06-181-6/+3
| | | | that and callers wind up typecasting it back.
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-021-1/+1
| | | | and eventual platform specific includes in early.
* Rich Felker writes:Rob Landley2006-05-031-1/+1
| | | | mistake in a macro caused statement before declaration.
* Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from theRob Landley2006-05-011-24/+3
| | | | compressed usage messages patch).
* Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley2006-04-271-23/+61
|
* - add option to suppress the terse usage messages. Saves 6.8k for defconfig:Bernhard Reutner-Fischer2006-03-311-0/+4
| | | | | | | text data bss dec hex filename 861791 11264 1039140 1912195 1d2d83 busybox.have-terse-usage 854799 11264 1039140 1905203 1d1233 busybox.no-terse
* - correct typoBernhard Reutner-Fischer2006-03-231-3/+3
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* - shared libbusybox.Bernhard Reutner-Fischer2006-01-151-1/+1
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutRob Landley2005-12-071-1/+1
| | | | matching up macro arguments even when the macro substitutes to nothing...
* - remove warning about "'static' is not at beginning of declaration".Bernhard Reutner-Fischer2005-10-281-2/+2
|
* show_usage should use bb_default_error_retval.Rob Landley2005-10-121-1/+1
|
* Fixes so "make allnoconfig" works again.Rob Landley2005-09-051-144/+128
| | | | | | | | | | | | | | | | | | | | | | 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.
* General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley2005-09-041-38/+14
| | | | | | | | | | | | | | | | | | | | | | | | | (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...
* Busybox should only multiplex based on argv[1] when it's called as "busybox".Rob Landley2005-09-011-4/+0
| | | | | | | | | | | | 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.
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Fix it so usage is _always_ in sync with applets.c. Previously,Eric Andersen2004-04-061-0/+11
| | | | broken depends allowed these to get out of sync.
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-1/+1
|
* Vodz. last_patch_128Glenn L McGrath2004-02-221-1/+1
| | | | | | | - declare applet_using as static from applets.c - small correction to cmdedit, previous version cleared history after Ctrl-C - small spelling correction (by Friedrich Lobenstock)
* Patch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,Manuel Novoa III2004-02-171-1/+3
| | | | | I overlooked the case of someone wanting to use a valid but empty suid config file.
* Rewrite parse_config_file(). Among the old version's problems:Manuel Novoa III2004-02-011-175/+220
| | | | | | | | | | | No checking for lines that were too long. No checking that fgets returning NULL was actually due to EOF. Various whitespace handling inconsistencies. Bloat (switches and multiple identical function calls). Failure to check for trailing characters in some cases. Dynamicly allocated memory was not free()d on error. Given that this controls suid/sgid behavior, the sloppy coding was really inexcusable. :-(
* Vodz, last_path_87, formatiing changesGlenn L McGrath2003-05-261-275/+306
|
* Major coreutils update.Manuel Novoa III2003-03-191-9/+9
|
* I miscalculated on this one, change it backGlenn L McGrath2002-11-281-5/+6
|
* Save a few bytes in show_usageGlenn L McGrath2002-11-281-6/+6
|
* Apply vodz' last_patch52Eric Andersen2002-09-161-1/+1
|
* Run through indent, use /* */ style comments instead of //Glenn L McGrath2002-08-221-65/+65
|
* Added a compile time option to suppress the "Using fallback.." messageRobert Griebl2002-07-181-0/+2
| | | | if no busybox.conf file is existant.
* Don't treat a non-existant/-readable config file as an empty config, butRobert Griebl2002-07-161-1/+2
| | | | use the compiled in _BB_SUID_* flags (same as for parse errors)
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-031-2/+2
| | | | | silly games. -Erik