Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-23 | Fix some issues raised (albeit indirectly) by Isaac Dunham. | Rob Landley | |
POLL_IN defined as a constant by some libc. Factor out login.c's change_identity() to xwrap.c as xsetuser(). Replace xsetuid() with xsetuser() Put a space between argument globals and non-argument globals. TT starts zeroed, don't need to re-zero entries in it. STDIN_FILENO has been 0 since 1969, even DOS copied that. Just say 0. Added an xchroot() using xchdir() to lib/xwrap.c. Remove endgrent() call until somebody can explain why it was there. | |||
2013-12-19 | Don't permute toys.optargs, cleanup code (xexec()) can free it. | Rob Landley | |
2013-09-03 | Introduce libbuf analogous to toybuf but for use by lib/*.c. Change ↵ | Rob Landley | |
readfile() semantics to be able to read into an existing buffer, or malloc its own if that's NULL. | |||
2013-08-30 | Add scripts/single.sh to build individual non-multiplexed standalone commands. | Rob Landley | |
Alas, you can't quite do this yet: make defconfig make for i in $(./toybox) do echo $i PREFIX=singles/ scripts/single.sh $i || break done Because the OLDTOY() aliases for commands won't build without the base command. And I can't just skip them because chown/chmod or mv/cp aren't the same thing. | |||
2013-08-21 | Fix --help option to multiplexer. | Rob Landley | |
2013-07-19 | Start of TOYBOX_SINGLE support, for building standalone commands with no ↵ | Rob Landley | |
multiplexer. | |||
2013-06-30 | Add config option for --help support in all commands. | Rob Landley | |
2013-05-08 | Add --help option to toybox command when TOYBOX_HELP is enabled. | Rob Landley | |
2013-04-21 | Fix some comments from way back when toybox first started (in 2006), when I ↵ | Rob Landley | |
was still cleaning busybox-isms out of my head... | |||
2013-01-05 | Use basename() where appropriate. | Rob Landley | |
2012-12-27 | TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, ↵ | Rob Landley | |
but it shouldn't warn just because the multiplexer command "toybox" is stayroot. | |||
2012-12-23 | Elie De Brauwer pointed out that xputs() isn't reliably reporting errors ↵ | Rob Landley | |
because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.) | |||
2012-11-26 | Cleanup i18n support (#ifdefectomy, move global init to process launch). ↵ | Rob Landley | |
Teach make.sh to emit "#define FLAG_x 0" for options inside disabled USE macros so we can unconditionally refer to them. | |||
2012-11-21 | Make internalization support optional | Felix Janda | |
2012-11-18 | Init global context to toybox multiplexer early so error_exit() doesn't ↵ | Rob Landley | |
segfault trying to print current command name, and change TOYBOX_DEBUG+TOYBOX_SUID complaint about not having the suid bit set to warning rather than exit.. | |||
2012-11-16 | Set optc when optstring NULL. | Rob Landley | |
2012-11-16 | Add rebound support to intercept error_exit() and longjmp instead. | Rob Landley | |
2012-11-13 | Reindent to two spaces per level. Remove vi: directives that haven't worked ↵ | Rob Landley | |
right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style. The actual code should be the same afterward, this is just cosmetic refactoring. | |||
2012-08-14 | Replace TOY_LIST_LEN with more generic ARRAY_LEN() | Rob Landley | |
2012-07-23 | Workaround longstanding glibc/ld bug, ala ↵0.4.0 | Rob Landley | |
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400, which prevents "./toybox | wc" from producing any output when toybox was statically linked. | |||
2012-02-18 | Nathan McSween convinced me compilers that inline memset() can optimize the ↵ | Rob Landley | |
bzero case pretty well. | |||
2012-02-08 | Switch from deprecated function to gratuitously renamed identical ↵ | Rob Landley | |
non-depricated function. *shrug* | |||
2012-01-14 | Expand comments. | Rob Landley | |
2010-01-06 | Make toy_init() reentrant, or else xexec() has funky errors. | Rob Landley | |
2010-01-05 | Add TOYBOX_SUID. | Rob Landley | |
2008-02-12 | Add TOYFLAG_UMASK. | Rob Landley | |
2008-01-22 | Fix crash when running unknown command via symlink. | Rob Landley | |
(The error message was trying to print an uninitialied field. Oops.) | |||
2008-01-20 | Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS() | Rob Landley | |
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion. | |||
2008-01-19 | Move NEWTOY() list from end of toylist.h to generated/newtoys.h. | Rob Landley | |
2007-12-09 | Changeset 186 assumed that toys.exitval defaults to 0. Actually change the | Rob Landley | |
default and have [p]error_exit() always return nonzero anyway. | |||
2007-11-29 | Change command main() functions to return void, and exit(toys.exitval) from | Rob Landley | |
the toybox infrastructure instead. Eliminates a return call from each command. | |||
2007-11-27 | Patch from Charlie Shepherd: remove extra \n from error_exit() arguments. | Rob Landley | |
2007-11-15 | Remove trailing whitespace (thanks to Charlie Shepherd), and a couple comment | Rob Landley | |
tweaks. | |||
2007-08-21 | Tweak error message. | Rob Landley | |
2007-06-07 | Make warning go away. | Rob Landley | |
2007-06-01 | Show the compiler how to optimize out the option parsing logic when nothing | Rob Landley | |
is using it. | |||
2007-06-01 | Allow applets with optarg string NULL to use toy.optargs[]. | Rob Landley | |
2007-02-02 | Trim a redundant definition that confuses older compilers. (Regression testing | Rob Landley | |
against Red Hat 9.) | |||
2007-01-31 | Small cleanup to prepare for cross-compile friendly make install. | Rob Landley | |
2007-01-18 | Save 4 bytes of stack space. | Rob Landley | |
2007-01-14 | Add start of mke2fs/gene2fs, and some other stuff I've been working on. | Rob Landley | |
2006-11-19 | New option parsing infrastructure (doesn't use getopt). Hook it up to | Rob Landley | |
existing applets. Still a bit buggy, but bits of it work. | |||
2006-11-04 | Add pwd. Consolidate toy list information under toylist.h. | Rob Landley | |
2006-11-03 | Implement which. Add hello world to menuconfig. Wrap the various applet main | Rob Landley | |
functions in main.c with USE() macros so --gc-sections can strip them. | |||
2006-11-01 | Add a hello world applet, partly as an example and partly for testing purposes. | Rob Landley | |
2006-10-30 | Implement 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-18 | Next drop of toysh, plus more infratructure. | landley | |
2006-10-05 | Infrastructure, first drop of toy shell, and a bit of work on df. | landley | |
2006-09-28 | Next snapshot. Tries to grab something out of lib in order to build, I have | landley | |
an empty "blah.c" in there to make it happy but I'm not checking that in. |