aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-01-18Added tag 0.4.3 for changeset f8f5ddb6b69aRob Landley
2013-01-18Adjust umask(0) for cp -p so mknod doesn't have to try to fchmodat() without ↵0.4.3Rob Landley
the unsupported symlink nofollow flag.
2013-01-17Switch readlink on by default, and fill out readlink.test.Rob Landley
2013-01-17Fix xabspath() resolving symlink after .., and properly detecting failure ↵Rob Landley
for last entry after nondir.
2013-01-16Make "sudo cp -rp /dev/null blah" work. Still not happy with it, ↵Rob Landley
fchmodat(AT_SYMLINK_NOFOLLOW) doesn't work (there's a glibc bug open for this. It's really a missing kernel syscall, but glibc fails without ever making any syscall if you feed it that flag, which isn't helpful).
2013-01-15Work around more random uClibc-specific breakage.Rob Landley
2013-01-14Silence deeply stupid gcc warning. (First non-declaration line of function: ↵Rob Landley
if (file) ffd = open(); at end of of function: if (file) close(ffd); "file" is an argument to the function and nothing else assigns to it. gcc warning on that close, "ffd may be used uninitialized!" _HOW_?)
2013-01-13Revert some debug code accidentally checked in at commit 715.Rob Landley
2013-01-12Update -p and -f to apply properly to various conditions. Still some bugs to ↵Rob Landley
squeeze out but this gets the infrastructure mostly right (and does away with the remaining gotos).
2013-01-10Teach cp to do -n.Rob Landley
2013-01-09Teach cp to do mknod.Rob Landley
2013-01-07Adapt cp to updated dirtree code.Rob Landley
2013-01-05Use basename() where appropriate.Rob Landley
2013-01-04Make basename use basename().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-30Add losetup. (Who knows, it might even work.)Rob Landley
2012-12-30Fix invalid free in toysh.Felix Janda
2012-12-30Getting the pwd -L behavior right is fiddly.Rob Landley
2012-12-28Add some tests for pwd.Felix Janda
2012-12-27Add options -L and -P to pwd.Felix Janda
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-27Add tests to mkfifo based on tests for mkdir.Felix Janda
2012-12-27mkfifo -m is already implemented.Felix Janda
2012-12-27Fix option grouping.Rob Landley
2012-12-27TOYBOX_DEBUG warns about lack of suid bit when running a STAYROOT command, ↵Rob Landley
but it shouldn't warn just because the multiplexer command "toybox" is stayroot.
2012-12-26A screen width of 1 is possible (in some weird setups), and gives ls -C a ↵Rob Landley
division by zero error.
2012-12-23Minor cleanups.Rob Landley
2012-12-16LSB does not allow killall to kill itselfElie De Brauwer
2012-12-23Minor tweaks.Rob Landley
2012-12-23Add some tests for mkdirFelix Janda
2012-12-23Add -m option to mkdirFelix Janda
2012-12-16Extend killall with support for -v and -iElie De Brauwer
2012-12-23Elie De Brauwer pointed out that xputs() isn't reliably reporting errors ↵Rob Landley
because there's no flush. Rather than change the output granularity, flush before exit and check errors there. (We still need xputc() doing it so "yes" doesn't continue forever.)
2012-12-23Whitespace.Rob Landley
2012-12-16Extend seq to support -f (format string) and -s (string separator) as ↵Elie De Brauwer
requested by LSB
2012-12-22Fix tac to handle the "abc\ndef" case properlyElie De Brauwer
2012-12-23Update mkstatus.py, roadmap.html, and status.html.Rob Landley
2012-12-22Refactoring broke revElie De Brauwer
2012-12-19Web page update for release.Rob Landley
2012-12-19Minor cleanups.Rob Landley
2012-12-16Adding implementation of rev including testsElie De Brauwer
2012-12-15Adding tests for tac based on cat testsElie De Brauwer
2012-12-15Simplify tac, the newline checking is already done in the get_line() functionElie De Brauwer
2012-12-16Missing letter in help text.Rob Landley
2012-12-15Added tag 0.4.2 for changeset 8947c0d35e58Rob Landley
2012-12-12The Linux kernel "make clean" calls rm -f with no arguments, which ↵0.4.2Rob Landley
apparently is not an error.
2012-12-10Add stat submission to new "pending" directory, along with infrastructure to ↵Rob Landley
support pending.
2012-12-10essat's flag not to follow symlinks isn't in the system call, and if libc is ↵Rob Landley
supposed to implement this as a wrapper uClibc gets it wrong. So use the stat info about symlinks instead. (Doesn't check the parent directory, but if that's read only we can't delete the file anyway so prompting is moot.)
2012-12-09Meddle.Rob Landley
The <1 has to come first in the option string, normalize whitespace, sprintf of %d maxes out at -2 billion ala 12 bytes with null terminator so we don't need a length check in a 4k buffer, use the "%*s" feature of printf to prepend whitespace for us, take advantage of c99 defining ! to return 0 or 1.