Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-20 | dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to ↵ | Rob Landley | |
DIRTREE_RECURSE and DIRTREE_SAVE. | |||
2012-04-14 | Rewrite dirtree so we don't need readdir, scandir, and fts.h. Rewrite ls ↵ | Rob Landley | |
(from scratch) to use new dirtree infrastructure. (This breaks everything else that currently uses dirtree.) | |||
2012-03-19 | Add string to mode_t parser | Daniel Walter | |
added new function string_to_mode(char *m_string, mode_t base) which parses a given string and converts it to a mode_t. If either + or - are part of m_string the permissions are either added or removed from base. Currently support for permision copy is missing (e.g. g=u), but all other flags should work. Format for m_string: either symbolic modes or octal representation. symbolic modes: [auog][[+-=][rwxst]*] examples: string_to_mode("u=rwx,g=rw,o=r", 0); string_to_mode("a-x", 0777); string_to_mode("0744", 0); | |||
2012-03-12 | Redo tail to use optargs and optionally support lseek. Add support to ↵ | Rob Landley | |
optargs and llist.c, plus add a test suite entry. Still no -f support though. | |||
2012-02-27 | Upgrade yesno() and make cp -i use it. | Rob Landley | |
2012-02-26 | Factor out common code between killall/kill and move it to lib/lib.c, plus ↵ | Rob Landley | |
cleanups on kill.c. | |||
2012-02-18 | And again, I forgot to check in a file. Oops. | Rob Landley | |
2012-02-18 | Add killall by Andreas Heck, and factor out common pid code to lib.h. | Rob Landley | |
2012-02-02 | Quick and dirty terminal_size() and yesno() functions, both of which need to ↵ | Rob Landley | |
be improved. | |||
2012-02-02 | Commit 415 needs the other two files. (Oops.) | Rob Landley | |
2011-12-12 | Forgot to check in loopfiles_rw changes needed by truncate. | Rob Landley | |
2010-01-05 | Add TOYBOX_SUID. | Rob Landley | |
2010-01-05 | Correct return types of xstrdup() and xstrndup() | Rob Landley | |
2009-01-18 | Add mkswap. | Rob Landley | |
2009-01-05 | Add -N, -I, -L, and -P options to cksum. | Rob Landley | |
2009-01-03 | Check in crc_init needed by cksum. (Oops.) | Rob Landley | |
2008-10-23 | Upgrade patch to detect hunks that start after a false start. | Rob Landley | |
Imagine a hunk that starts with a blank line, but the site to patch starts with two blank lines. Before we'd read the first blank line, think it was the start of the hunk and buffer it, read the second blank line, notice that it didn't match the second line of the hunk, and discard _both_ buffered lines of context (writing them to the output file) without checking that one of the later context lines might have been the real start of the hunk. Make it re-check the rest of the buffered context for matches each time it discards a line of buffered context. | |||
2008-07-18 | Tweak from Roberto Foglietta. | Rob Landley | |
2008-07-03 | Add "tee" command. | Rob Landley | |
2008-05-12 | Update mdev to work around the newest sysfs api breakage in the 2.6.25 kernel. | Rob Landley | |
(Yeah, I know sysfs hasn't actually got an API, but I like to pretend...) | |||
2008-04-13 | Teach get_rawline() to continue until a configurable char, and xstrndup() | Rob Landley | |
shouldn't die when it's told to chop out a subsection of a string. | |||
2008-02-21 | Make cp pass most of its test suite. Still need to add symlink support. | Rob Landley | |
2008-02-20 | Add first pass at cp, totally untested, unlikely to work yet. :) | Rob Landley | |
2008-01-20 | Move dlist_add() to lib/llist.c | Rob Landley | |
2007-12-27 | Make patch's file add actually work, including directory creating and | Rob Landley | |
understanding zero-context hunks. | |||
2007-12-20 | Upgrade patch to understand creating and deleting files. | Rob Landley | |
2007-12-18 | Patch command. | Rob Landley | |
2007-12-15 | Start of "patch" support. Writes to stdout at the moment. | Rob Landley | |
2007-11-29 | Add loopfiles() function, make catv use it. | Rob Landley | |
2007-11-19 | Replace strlcpy() with xstrcpy(), which exits if the string won't fit. | Rob Landley | |
2007-11-15 | Add noreturn mark to [p]error_exit(), suggested by Charlie Shepherd. | Rob Landley | |
2007-10-11 | Promote help to global config option, teach error_exit() to output usage ↵ | Rob Landley | |
message when called from get_optflags(). | |||
2007-10-04 | Break out dirtree.c and let it call a function instead of returning the data. | Rob Landley | |
2007-08-15 | More klibc fixes from Maximilian Attems, strlcpy() this time. | Rob Landley | |
2007-06-18 | Add xputs() to detect EOF on writes. | Rob Landley | |
2007-06-07 | Work around uClibc weirdness. | Rob Landley | |
2007-04-29 | Add readlink, xreadlink(), and change xrealloc() to not fight the stupid | Rob Landley | |
compiler so much. | |||
2007-02-16 | Add atolx() which understands extensions for kilobytes and megabytes and such. | Rob Landley | |
2007-02-04 | Add parent pointer to dirtree, more work on mke2fs (populate dirtree, count | Rob Landley | |
index blocks). | |||
2007-02-03 | Add xstat(), read_dirtree(), and read_dirtree_node(). | Rob Landley | |
2007-01-23 | More random progress on mke2fs. Nothing to see yet. | Rob Landley | |
2007-01-20 | Add "echo". Has -n and -e (but not \0123 yet). | Rob Landley | |
2007-01-18 | In bunzip replace setjmp/longjmp handling with error_exit(), replace string | Rob Landley | |
based handling of a 6-byte header with with two 24-bit integer reads. Use xmalloc() and xzalloc(). | |||
2007-01-18 | Add fdprintf(). Remove reread() and rewrite() which handle -EINTR, which | Rob 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-14 | Add start of mke2fs/gene2fs, and some other stuff I've been working on. | Rob Landley | |
2007-01-08 | xread() and xwrite() should take void *, not char *. | Rob Landley | |
2007-01-08 | Add xaccess() | Rob Landley | |
2007-01-08 | Add rewrite(), writeall(),and xwrite() to match the read versions. | Rob Landley | |
2007-01-07 | xopen() wants 2 arguments unless you're creating a file, in which case you | Rob 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-11-25 | Add cat -v. | Rob Landley | |