Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-01 | Changed my mind about the design again, now callback is dirtree_opennode() ↵ | Rob Landley | |
and recursion choice is how caller interprets flags. | |||
2012-06-01 | Factor out dirtree_comeagain() callback, setting up depth-first search with ↵ | Rob Landley | |
open filehandle in node->extra. | |||
2012-06-01 | Add xrealpath() at suggestion of Ashish Briggers. | Rob Landley | |
2012-05-27 | Update chgrp so -R works, tweaking DIRTREE_COMEAGAIN design along the way. | Rob Landley | |
2012-05-20 | dirtree logic cleanup: switch DIRTREE_NORECURSE and DIRTREE_NOSAVE to ↵ | Rob Landley | |
DIRTREE_RECURSE and DIRTREE_SAVE. | |||
2012-05-16 | First pass at a complete rewrite of string_to_mode(). (It compiled!) | Rob Landley | |
2012-05-09 | Whitespace (tabs vs spaces) cleanup. | Rob Landley | |
2012-04-22 | More work on ls. Now ls -lR sort of works-ish. | Rob Landley | |
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-20 | Using /dev/tty for yesno() is wrong because yes 'n' | cp -ial needs to work. | Rob Landley | |
2012-03-19 | Unwind gratuitous macros. | Rob Landley | |
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-19 | Remove "feature test macros", replace non-portable fdprintf() with standard ↵ | Rob Landley | |
fprintf(). | |||
2012-03-16 | Implement Apple and Android versions of getline(), getdelim(), and clearenv(). | Georgi Chorbadzhiyski | |
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-03-08 | More stabs at getting #includes right, and moving off of deprecated functions. | Rob Landley | |
2012-03-07 | Consolidate headers. | Rob Landley | |
2012-02-28 | Add "-" type to optargs and teach tail.c to use it. Tighten up help text, ↵ | Rob Landley | |
use xzalloc() and xputc() as appropriate. | |||
2012-02-27 | Upgrade yesno() and make cp -i use it. | Rob Landley | |
2012-02-26 | Teach lib/args.c that " " this option must take a _separate_ argument, so ↵ | Rob Landley | |
"kill -stop" and "kill -s top" aren't the same thing. Make kill.c use it, and remove leftover debug printfs. | |||
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 | Nathan McSween convinced me compilers that inline memset() can optimize the ↵ | Rob Landley | |
bzero case pretty well. | |||
2012-02-18 | And again, I forgot to check in a file. Oops. | Rob Landley | |
2012-02-18 | Cleanups to pidof (including some global infrastructure shared with killall). | Rob Landley | |
2012-02-18 | Add killall by Andreas Heck, and factor out common pid code to lib.h. | Rob Landley | |
2012-02-09 | Make atolx() error_exit() if fed a string that doesn't convert entirely into ↵ | Rob Landley | |
an integer. | |||
2012-02-08 | Use stpcpy() (posix 2008) for slight code shrink. | Rob Landley | |
2012-02-03 | Removing unecessary allocation. | Luis Felipe Strano Moraes | |
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 | |
2012-01-29 | Add <>= to lib/args.c, with documentation. | Rob Landley | |
2011-12-28 | Bugfix (spotted by Nathan McSween): xread can't detect <0 if the return type ↵ | Rob Landley | |
is stored in an unsigned variable. | |||
2011-12-12 | Forgot to check in loopfiles_rw changes needed by truncate. | Rob Landley | |
2011-11-30 | Split out parse_optflaglist(), and move local variables to optflagstate. | Rob Landley | |
2011-11-28 | Fix "tar cvjfC file dir", make @ not eat an argument, add debug check for ↵ | Rob Landley | |
(as yet) unsupported multi-function option (ala "x*@"). | |||
2011-11-13 | xreadall() returns void... how does that even compile? | Rob Landley | |
2010-01-06 | Shut up even MORE gcc/glibc spurious warnings. | Rob Landley | |
2010-01-05 | Add TOYBOX_SUID. | Rob Landley | |
2010-01-05 | Correct return types of xstrdup() and xstrndup() | Rob Landley | |
2010-01-05 | Typo fix in comment. | Rob Landley | |
2009-04-16 | Fix bug spotted by Jean-Christphe Dubois: reserve space for null terminator. | Rob Landley | |
2009-01-25 | Fix thinko. | Rob Landley | |
2009-01-19 | Fix typo.0.0.8 | 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-11-12 | Work around a reiserfs bug. (One line change, switch from looking at broken ↵ | Rob Landley | |
struct dirent->dt_type to looking at stat() output. The rest are unrelated variable renames.) | |||
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-18 | Roberto Foglietta pointed out that readall() needs fdlength() to restore | Rob Landley | |
the original position before exiting. |