Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-04 | Add TOYFLAG_MAYFORK and annotate a couple commands. | Rob Landley | |
A TOYFLAG_NOFORK command must run in the context of toysh, but a MAYFORK can either run standalone or run in the toysh process. MAYFORK means it cleans up after itself: no leaked resources (malloc, mmap, filehandles, etc), even in error_exit() paths that would longjmp() back to the shell. It also doesn't discard anything we need to retain (don't close stdout, change toys.optargs[] so we can't free it, etc)... | |||
2019-03-10 | Add TOYFLAG_ARGFAIL() to allow argument parsing failures to exit with value. | Rob Landley | |
2018-07-19 | Tweak/add some comments. | Rob Landley | |
2017-03-20 | Add TOYBOX_PEDANTIC_ARGS to check arguments when there are no arguments, | Rob Landley | |
and make uptime use it. | |||
2016-08-13 | Add TOYFLAG_NOHELP to disable --help processing for individual commands, | Rob Landley | |
apply it to "true" and "false". | |||
2016-02-10 | Wean scripts/install.c off toys.h so cross compiling less brittle. | Rob Landley | |