aboutsummaryrefslogtreecommitdiff
path: root/applets
AgeCommit message (Collapse)Author
2007-04-10- very minor shrinkage (-3b)Bernhard Reutner-Fischer
2007-04-09make xfunctions optionally longjump instead of exit.Denis Vlasenko
use it for making NOFORK more practical. touch: make it a NOFORK applet
2007-04-09busybox: fix "<applet>: applet not found" messageDenis Vlasenko
2007-04-09Improve STANDALONE_SHELL. "safe" applets are renamed NOEXEC appletsDenis Vlasenko
and now this fact is recorded in applets.h, not ash.c. Several fixes to "--help + STANDALONE_SHELL" scenarios. function old new delta run_current_applet_and_exit - 355 +355 arith 2064 2073 +9 refresh 1148 1156 +8 getopt32 1068 1073 +5 telnet_main 1510 1514 +4 md5_sha1_sum_main 565 566 +1 xstrtoul_range_sfx 255 251 -4 packed_usage 22523 22514 -9 tryexec 255 203 -52 static.safe_applets 152 - -152 .rodata 131320 131128 -192 run_applet_by_name 869 506 -363 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 5/5 up/down: 382/-772) Total: -390 bytes ./busybox ash -c 'i=20000; while test $i != 0; do touch z; i=$((i-1)); done' runs more than twice as fast with STANDALONE_SHELL versus without.
2007-04-09merge busybox.c into applets.cDenis Vlasenko
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-03-24#ifdef out re_execed on MMU machinesDenis Vlasenko
2007-03-24NOMMU re-exec trick shuld not depend on existence of "don't daemonize"Denis Vlasenko
option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too.
2007-03-24applets.c, xfunc.c: style cleanupDenis Vlasenko
2007-03-11kill superfluous returns at the end of void functionsDenis Vlasenko
2007-02-11syslogd: fix "readpath bug" by using readlink insteadDenis Vlasenko
libbb: rename xgetcwd and xreadlink
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-02-03do not put all <applet>_main() declarationsDenis Vlasenko
in busybox.h - this produces false dependencies
2007-02-03usage_compressed: be more permissive in which od flavors we supportDenis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #1Denis Vlasenko
2007-01-24accumulated post-1.4.0 fixesDenis Vlasenko
2007-01-03fix allnoconfig build. the most useful fix of the month. ;)Denis Vlasenko
[spotted by Bernhard Fischer <rep.nop@aon.at>]
2007-01-02convert usage compressed command into the new cmd styleMike Frysinger
2006-12-26style fixesDenis Vlasenko
last xcalloc replaced by xzalloc
2006-12-24random tiny size savingsDenis Vlasenko
2006-12-18A bunch of defined(__GLIBC__) added. static-linking warning expandedDenis Vlasenko
2006-11-22- add FIXME to brokenness in the installer..Bernhard Reutner-Fischer
2006-11-21httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!Denis Vlasenko
2006-11-17- fix generation of the busybox.links install script inputfileBernhard Reutner-Fischer
2006-11-10wget: fix error message.Denis Vlasenko
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 :)
2006-11-09add && !defined(__UCLIBC__) to static link warning checkDenis Vlasenko
2006-11-01mostly style fixesDenis Vlasenko
2006-10-29"#warning: http://...." doesn't work (gcc thinks that it's a comment!)Denis Vlasenko
2006-10-23__GLIBC__ -> defined(__GLIBC__)Denis Vlasenko
2006-10-20Added compile-time warning for STATIC+GLIBC buildDenis Vlasenko
2006-10-20message string changes, mostly for consistency, also -32 bytes in .rodataDenis Vlasenko
2006-10-19build system: (try to) get rid of bb_config.h hackDenis Vlasenko
2006-10-19move usage_compressed.h generation into applets/Denis Vlasenko
2006-10-19applets/applets.o must be rebuilt if usage.h is modified.Denis Vlasenko
2006-10-16mount: support user mounts if CONFIG_DESKTOPDenis Vlasenko
2006-10-08attempt to regularize atoi mess.Denis Vlasenko
2006-10-05which: -84 bytesDenis Vlasenko
2006-10-05build system overhaulDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-10-03rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko
2006-09-23applets.c: fix indentationDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-20The Software Freedom Law Center wants us to add a copyright notice to theRob Landley
generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff...
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-09Another whack at scripts/individual. Now builds 212 applets.Rob Landley
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-04Digging up my old "make standalone" stuff from a year ago:Rob Landley
http://busybox.net/lists/busybox/2005-September/015766.html I renamed it "individual" to not confuse it with the standalone shell. (Which it isn't compatible with for obvious reasons.) Configure busybox (I did make defconfig), then run scripts/individual and it'll build an individual version of each applet in the "build" subdirectory. Currently it builds 146 and fails to build 104 applets out of "make defconfig". I haven't taught it about multi-file applets yet (like tar), or the ones where two applets get built from the same source (for example, zcat is a trivial variant of gunzip so there is no zcat.c). But here's a start.
2006-07-26Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, IRob Landley
already have that one, but it moves up the list...)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.