aboutsummaryrefslogtreecommitdiff
path: root/toys
AgeCommit message (Collapse)Author
2007-01-18In bunzip replace setjmp/longjmp handling with error_exit(), replace stringRob Landley
based handling of a 6-byte header with with two 24-bit integer reads. Use xmalloc() and xzalloc().
2007-01-18Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, whichRob Landley
shouldn't be a problem if we register signal handlers with sigaction(SA_RESTART) Straighten out count and len (I generally consistently use "count" for the current progress and "len" for the total, but this time I got them backwards for some reason and don't want to confuse myself in future.)
2007-01-16Add a quick and dirt bzcat (stdin to stdout only for the moment) to testRob Landley
out the bunzip2 library.
2007-01-14Add start of mke2fs/gene2fs, and some other stuff I've been working on.Rob Landley
2007-01-07xopen() wants 2 arguments unless you're creating a file, in which case youRob Landley
need 3. Doing varargs for this doesn't really appeal to me (bugs in waiting) so I made an xcreate() that takes 3 args, and had xopen() call it with 0 for the third argument. That way, if we feed O_CREAT to xopen() the permission 000 result should be easy to spot.
2007-01-07Two unrelated additions I'm working on cross over in this file. In theory IRob Landley
can use mercurial branches to keep this sort of thing separate, but at the moment I'm just going to check in some dangling config entries that don't control anything yet.
2006-11-25Add cat -v.Rob Landley
2006-11-25Add oneit.Rob Landley
2006-11-25Fix a warning.Rob Landley
2006-11-25More work on option parsing. "df -t tmpfs" actually seems to work now.Rob Landley
2006-11-19Fix thinko (inverted test).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-02Thinko: the Config.in for the toys should be in ./toys, not ./lib.Rob Landley
2006-11-01Add a hello world applet, partly as an example and partly for testing purposes.Rob Landley
2006-10-30Closer support for "pedantic" option for SUSv3. (Ok, it's %ld instead of the0.0.1landley
%d the spec says, but same output. And you can't actually select it until I get menuconfig in. But hey...)
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.
2006-09-27Starting a new project. Just a bit past the "hello world" stage...landley