aboutsummaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
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
default and have [p]error_exit() always return nonzero anyway.
2007-11-29Change command main() functions to return void, and exit(toys.exitval) fromRob Landley
the toybox infrastructure instead. Eliminates a return call from each command.
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
tweaks.
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
is using it.
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
against Red Hat 9.)
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
existing applets. Still a bit buggy, but bits of it work.
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
functions in main.c with USE() macros so --gc-sections can strip them.
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
Add error_msg() and itoa() to library. Remove argc from globals (since argv is null terminated), add optflags to globals.
2006-10-18Next drop of toysh, plus more infratructure.landley
2006-10-05Infrastructure, first drop of toy shell, and a bit of work on df.landley
2006-09-28Next snapshot. Tries to grab something out of lib in order to build, I havelandley
an empty "blah.c" in there to make it happy but I'm not checking that in.