Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-11-16 | Add rebound support to intercept error_exit() and longjmp instead. | 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-11-13 | Older versions of glibc predated posix-2008. They still provide most of what ↵0.4.1 | Rob Landley | |
we need, but require a boot to the headers to get them to admit it. Note that uClibc lies and claims to be glibc so we have to specifically exclude it here. | |||
2012-11-02 | Use stridx. | Rob Landley | |
2012-10-07 | Fix thinko in xpidfile() | Rob Landley | |
2012-08-26 | Add du command. | Ashwini Kumar | |
2012-07-30 | Add signal handler to clean up tempfile. | Rob Landley | |
2012-07-23 | Workaround longstanding glibc/ld bug, ala ↵0.4.0 | Rob Landley | |
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3400, which prevents "./toybox | wc" from producing any output when toybox was statically linked. | |||
2012-07-21 | Make chmod +w respect umask, implement +s and +t, fix ls to show ↵ | Rob Landley | |
suid/sgid/stid without x bit. | |||
2012-07-21 | Use "_password" instead of "_passwd" for names in lib/password.c. | Rob Landley | |
2012-07-18 | Only add / in dirtree_path if it hasn't already got one, spotted by Ashwini ↵ | Rob Landley | |
Sharma. | |||
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-30 | Add NOP b (byte) suffix to atolx() since od needs it. | Rob Landley | |
2012-06-24 | Unify chown and chgrp, add support for -hHLP flags.0.3.1 | Rob Landley | |
2012-06-22 | Minor code refactoring. | Rob Landley | |
2012-06-16 | Add dirtree_parentfd() | Rob Landley | |
2012-06-16 | More header fiddling: crypt.h is silly, SUSv4 requires crypt() to be ↵ | Rob Landley | |
prototyped in unistd.h. The fact glibc refuses to do so without a wacky #define is a glibc bug, treat it as such. | |||
2012-06-09 | Implement DIRTREE_SYMFOLLOW and ls -cSHL. | Rob Landley | |
2012-06-09 | Feeding -1 to xdup() isn't an error. | 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-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 | |