aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2013-04-26Remove leaked global path_mounts.Rob Landley
2013-04-26Eliminate leaked global bunzip_errors.Rob Landley
2013-04-20More ifconfig cleanup.Rob Landley
2013-04-14Move guts of help command into show_help() in lib/help.c, with config ↵Rob Landley
TOYBOX_HELP controlling infrastructure.
2013-04-06Fix argument parsing so -- doesn't include itself in output.Rob Landley
2013-03-17Remove unused min/max macros.Rob Landley
2013-03-11Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl ↵0.4.4Rob Landley
doesn't conform to posix-2008.
2013-03-09O_NOFOLLOW is specified by posix-2008 and varies by target, don't try to ↵Rob Landley
supply them for broken headers.
2013-02-24Comment updates and a policy statement about avoiding #define GNU_dammitRob Landley
2013-02-04More support for old (~2008) build environments, move the #ifdef checks for ↵Rob Landley
symbols out of specific library version checks (shouldn't hurt anything), remove obsolete debug macro.
2013-01-31Fix -in behavior: descend into existing directory without prompting, show ↵Rob Landley
full path in error messages, actually overwrite when answering yes to -i.
2013-01-17Fix xabspath() resolving symlink after .., and properly detecting failure ↵Rob Landley
for last entry after nondir.
2013-01-15Work around more random uClibc-specific breakage.Rob Landley
2013-01-02Have error_msg() and friends set TT.exitval to 1 if it's still 0, clean out ↵Rob Landley
other places that were setting it that no longer need to.
2012-12-31Make dirtree_handle_callback() start with dirtree_ like the rest of the ↵Rob Landley
dirtree functions.
2012-12-29Ashwini Sharma pointed out that my previous tweak to [!abc] groups still ↵Rob Landley
didn't get the error reporting right (test case "touch -d 12 -r f2 f1"). This says "no 'r' with 'd'" for that, and still shouldn't be able to fall off the end of the list (segfault) because an option can't conflict with itself (that's what the ~(1<<i) on lib/args.c line 317 is for).
2012-12-27Fix option grouping.Rob Landley
2012-12-16Extend killall with support for -v and -iElie De Brauwer
2012-12-08Adding -s (single shot) and -o (omit pids) options to pidofElie De Brauwer
2012-12-08Complicate the rm -i behavior to do what posix specifies.Rob Landley
2012-12-08Make yesno() always read from stdin and write to stderr. (If we need to find ↵Rob Landley
our tty, open /dev/tty, but existing users don't.)
2012-12-06Have dirtree_add_node() set parent so error message can provide full path.Rob Landley
2012-12-01Remove unused structure definition.Rob Landley
2012-12-01Fix ancient glibc workaround to force fstatat64Rob Landley
2012-11-23Add expand command as described in POSIX-2008.Jonathan Clairembault
Erratum: Do not handle backspace.
2012-11-26The headers of uClibc and older glibc got unhappy with O_DIRECTORY and some ↵Rob Landley
other stuff. Fix it up in portability.h.
2012-11-25Fix typo.Rob Landley
2012-11-22Remove 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-20Update readlink so -f works. Add -menq while there.Rob Landley
2012-11-19Teach option parsing about [groups] of related options.Rob Landley
2012-11-17Fix leak (call endmntent).Rob Landley
2012-11-16More touch cleanup to use generic infrastructure: use getdate() from libc, ↵Rob Landley
use flag macros, option parsing can collect argument strings in global block, use existing perror_* macros.
2012-11-16Add cut from Jason Kyungwan Han.Rob Landley
2012-11-16Add rebound support to intercept error_exit() and longjmp instead.Rob Landley
2012-11-13Reindent 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-13Older versions of glibc predated posix-2008. They still provide most of what ↵0.4.1Rob 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-02Use stridx.Rob Landley
2012-10-07Fix thinko in xpidfile()Rob Landley
2012-08-26Add du command.Ashwini Kumar
2012-07-30Add signal handler to clean up tempfile.Rob Landley
2012-07-23Workaround longstanding glibc/ld bug, ala ↵0.4.0Rob 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-21Make chmod +w respect umask, implement +s and +t, fix ls to show ↵Rob Landley
suid/sgid/stid without x bit.
2012-07-21Use "_password" instead of "_passwd" for names in lib/password.c.Rob Landley
2012-07-18Only add / in dirtree_path if it hasn't already got one, spotted by Ashwini ↵Rob Landley
Sharma.
2012-07-17Add passwd by Kyungwan Han.Rob Landley
2012-07-15Genericize llist code a bit: rename llist_free() to llist_traverse(), and no ↵Rob Landley
longer accept NULL as a synonym for free.
2012-07-15New infrastructure for od (oops).Rob Landley
2012-06-30Add NOP b (byte) suffix to atolx() since od needs it.Rob Landley
2012-06-24Unify chown and chgrp, add support for -hHLP flags.0.3.1Rob Landley
2012-06-22Minor code refactoring.Rob Landley