aboutsummaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Expand)Author
2014-05-24The "not root" test happens before looking for --help, so "./sulogin --help" ...Rob Landley
2014-05-21Add generic_signal() handler, which sets toys.signal and writes byte to toys....Rob Landley
2014-04-01bugfix: the multiplexer increments optc and then the command the multiplexer ...Rob Landley
2014-03-28Add help -a (to show all commands) and -h (to produce HTML output).Rob Landley
2013-12-23Fix some issues raised (albeit indirectly) by Isaac Dunham.Rob Landley
2013-12-19Don't permute toys.optargs, cleanup code (xexec()) can free it.Rob Landley
2013-09-03Introduce libbuf analogous to toybuf but for use by lib/*.c. Change readfile(...Rob Landley
2013-08-30Add scripts/single.sh to build individual non-multiplexed standalone commands.Rob Landley
2013-08-21Fix --help option to multiplexer.Rob Landley
2013-07-19Start of TOYBOX_SINGLE support, for building standalone commands with no mult...Rob Landley
2013-06-30Add config option for --help support in all commands.Rob Landley
2013-05-08Add --help option to toybox command when TOYBOX_HELP is enabled.Rob Landley
2013-04-21Fix some comments from way back when toybox first started (in 2006), when I w...Rob Landley
2013-01-05Use basename() where appropriate.Rob Landley
2012-12-27TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, bu...Rob Landley
2012-12-23Elie De Brauwer pointed out that xputs() isn't reliably reporting errors beca...Rob Landley
2012-11-26Cleanup i18n support (#ifdefectomy, move global init to process launch). Teac...Rob Landley
2012-11-21Make internalization support optionalFelix Janda
2012-11-18Init global context to toybox multiplexer early so error_exit() doesn't segfa...Rob Landley
2012-11-16Set optc when optstring NULL.Rob Landley
2012-11-16Add rebound support to intercept error_exit() and longjmp instead.Rob Landley
2012-11-13Reindent to two spaces per level. Remove vi: directives that haven't worked r...Rob Landley
2012-08-14Replace TOY_LIST_LEN with more generic ARRAY_LEN()Rob Landley
2012-07-23Workaround longstanding glibc/ld bug, ala http://sources.redhat.com/bugzilla/...0.4.0Rob Landley
2012-02-18Nathan McSween convinced me compilers that inline memset() can optimize the b...Rob Landley
2012-02-08Switch from deprecated function to gratuitously renamed identical non-deprica...Rob Landley
2012-01-14Expand comments.Rob Landley
2010-01-06Make toy_init() reentrant, or else xexec() has funky errors.Rob Landley
2010-01-05Add TOYBOX_SUID.Rob Landley
2008-02-12Add TOYFLAG_UMASK.Rob Landley
2008-01-22Fix crash when running unknown command via symlink.Rob Landley
2008-01-20Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()Rob Landley
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2007-12-09Changeset 186 assumed that toys.exitval defaults to 0. Actually change theRob Landley
2007-11-29Change command main() functions to return void, and exit(toys.exitval) fromRob Landley
2007-11-27Patch from Charlie Shepherd: remove extra \n from error_exit() arguments.Rob Landley
2007-11-15Remove trailing whitespace (thanks to Charlie Shepherd), and a couple commentRob Landley
2007-08-21Tweak error message.Rob Landley
2007-06-07Make warning go away.Rob Landley
2007-06-01Show the compiler how to optimize out the option parsing logic when nothingRob Landley
2007-06-01Allow applets with optarg string NULL to use toy.optargs[].Rob Landley
2007-02-02Trim a redundant definition that confuses older compilers. (Regression testingRob Landley
2007-01-31Small cleanup to prepare for cross-compile friendly make install.Rob Landley
2007-01-18Save 4 bytes of stack space.Rob Landley
2007-01-14Add start of mke2fs/gene2fs, and some other stuff I've been working on.Rob Landley
2006-11-19New option parsing infrastructure (doesn't use getopt). Hook it up toRob Landley
2006-11-04Add pwd. Consolidate toy list information under toylist.h.Rob Landley
2006-11-03Implement which. Add hello world to menuconfig. Wrap the various applet mainRob Landley
2006-11-01Add a hello world applet, partly as an example and partly for testing purposes.Rob Landley
2006-10-30Implement df. Add -Wall to build and fix up warnings. Add copyright notices.landley