Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-09-09 | Redo tail closer to the original design. Add more tests for large data sets. ↵ | Rob Landley | |
(Still no -f support yet.) | |||
2013-09-06 | Ashwini Sharma submitted route.c, adding it to pending. | 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-09-03 | Remove itoa/utoa, let libc do this with sprintf. | Rob Landley | |
2013-08-30 | Allow getmountlist to read fstab too. | Rob Landley | |
2013-08-26 | syslogd: cleanup | Felix Janda | |
- fix bugs introduced in the cleanups - inline addrfds() and open_unix_socks() and simplify them - use xpidfile() - remove isNetwork from struct logfile - invert the meaning of facility and level in struct logfile so that they are automatically correctly initialized - fix memory leak regarding the filenames of logfiles - TT.sd was unused | |||
2013-08-18 | Remove files du no longer needs. | Rob Landley | |
2013-08-10 | Add daemonize function to lib for klogd and syslogd | Felix Janda | |
2013-08-07 | Forgot to check in xfdopen(). My bad. | Rob Landley | |
Failure of fdopen() is most likely failure of malloc() for the FILE structure. | |||
2013-07-17 | Add timeout, factoring out common code from sleep. | Rob Landley | |
2013-07-16 | Split lib/xwrap.c from lib/lib.c | Rob Landley | |
2013-07-12 | add grep | Strake | |
2013-06-16 | Add xexit() and make error_exit() use it. | Rob Landley | |
2013-06-02 | Stat cleanup. | Rob Landley | |
lib: rename format_mode() to mode_to_string() (echoing string_to_mode), make it take a normal char * argument. stat: collapse big switch/case statements that only have one line each into if/else staircase (much fewer lines of code). Remove return type (other stat implementations print ? for unknown escapes, so do that here). Inline do_stat() and do_statfs(). Set default string in normal local variable "format". Remove unnecessary struct d. Restructure stat logic to "if (flagf && !statfs()) else if (!flagf && !stat()) else perror_msg();" Teach %N to add -> symlink. Judicious use of putchar() instead of xputc to let FILE * do its job collating output. | |||
2013-06-01 | Add peek/poke to header file. | Rob Landley | |
2013-05-10 | Convert getmountlist() to xgetmountlist(). | Rob Landley | |
2013-04-22 | Add library function for the file permission formatting in ls and stat | Felix Janda | |
2013-04-26 | Add posix headers to toynet.h, move xioctl() to lib.c, introduce lib/net.c ↵ | Rob Landley | |
and move xsocket() to it. | |||
2013-04-20 | More ifconfig cleanup. | Rob Landley | |
2013-04-14 | Move guts of help command into show_help() in lib/help.c, with config ↵ | Rob Landley | |
TOYBOX_HELP controlling infrastructure. | |||
2013-03-17 | Remove unused min/max macros. | Rob Landley | |
2012-12-31 | Make dirtree_handle_callback() start with dirtree_ like the rest of the ↵ | Rob Landley | |
dirtree functions. | |||
2012-12-16 | Extend killall with support for -v and -i | Elie De Brauwer | |
2012-12-08 | Adding -s (single shot) and -o (omit pids) options to pidof | Elie De Brauwer | |
2012-12-06 | Have dirtree_add_node() set parent so error message can provide full path. | Rob Landley | |
2012-12-01 | Remove unused structure definition. | Rob Landley | |
2012-11-23 | Add expand command as described in POSIX-2008. | Jonathan Clairembault | |
Erratum: Do not handle backspace. | |||
2012-11-22 | Remove readlink -m for being poorly defined ("readlink -m ↵ | Rob Landley | |
/dev/null/and/more" answers what question, exactly?), rewrite xabspath() to work right and not depend on realpath, fix subtle longstanding bug in llist_traverse(). | |||
2012-11-20 | Update readlink so -f works. Add -menq while there. | Rob Landley | |
2012-11-16 | Add cut from Jason Kyungwan Han. | 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-26 | Add du command. | Ashwini Kumar | |
2012-07-30 | Add signal handler to clean up tempfile. | Rob Landley | |
2012-07-21 | Use "_password" instead of "_passwd" for names in lib/password.c. | Rob Landley | |
2012-07-17 | Add passwd by Kyungwan Han. | Rob Landley | |
2012-07-15 | Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵ | Rob Landley | |
longer accept NULL as a synonym for free. | |||
2012-07-15 | New infrastructure for od (oops). | Rob Landley | |
2012-06-24 | Unify chown and chgrp, add support for -hHLP flags.0.3.1 | Rob Landley | |
2012-06-16 | Add dirtree_parentfd() | Rob Landley | |
2012-06-09 | Implement DIRTREE_SYMFOLLOW and ls -cSHL. | Rob Landley | |
2012-06-03 | Update chmod to work with new dirtree, and fix bugs in string_to_mode(). | Rob Landley | |
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-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. |