aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2007-01-17Fix off by one error in a test.Rob Landley
2007-01-17Comment and whitespace changes.Rob Landley
2007-01-16Memmove is 11 bytes shorter than the unrolled loop, and Manuel Nova pointedRob Landley
out how to turn an if/else into a multiply and subtract (saving 2 bytes).
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-08xread() and xwrite() should take void *, not char *.Rob Landley
2007-01-08Add xaccess()Rob Landley
2007-01-08Add rewrite(), writeall(),and xwrite() to match the read versions.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.
2006-12-31Remove more warnings.Rob Landley
2006-12-30Comment tweak.Rob Landley
2006-11-26Trawling through the archives: a broken test, an unnecessary memset, and aRob Landley
unrolling a small memmove.
2006-11-26More whitespace/cowbell. (And change comment style to //.)Rob Landley
2006-11-25Add my old micro-bunzip library. Needs some cleanup...Rob Landley
2006-11-25Add cat -v.Rob Landley
2006-11-25More work on option parsing. "df -t tmpfs" actually seems to work now.Rob Landley
2006-11-24Fix a half-dozen bugs in argument parsing. More seems to work than not now.Rob Landley
2006-11-19Allocate a more sane amount of memory.Rob Landley
2006-11-19Add one if() that has lots of whitespace fallout.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-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-02Add xabspath(), is_file_type(), which_in_path(), and find_in_path().Rob Landley
2006-11-01Linked list functions, forgot to add this to the repository.Rob Landley
2006-11-01The darn thing accidentally created a branch. I had to copy a half-dozenRob Landley
files to temporary locations to get them out of the way of the merge, and the next checkin will be putting them _back_. This commit is entirely to humor mercurial, and if I could figure out how to avoid getting it in this weird state, I would.
2006-11-01The Config files don't need the CONFIG_ prefix.landley
2006-10-31Add menuconfig, plus some basic Config info, lots of which is just futurelandley
plans for toysh. Nothing's currently _using_ this config info, but at least it's being generated now.
2006-10-30Add reread(), readall(), and xread() on the bus ride in to work...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-26Rest of thinko fix.landley
2006-10-26Thinko fix.landley
2006-10-25Add xmsprintf(), xgetcwd(), xgetcwd(), find_in_path().landley
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