aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-07-30As long as I had to write xabspath(), no point in wrapping realpath().Rob Landley
2014-07-29find.c: first pass at case case insensitivity and exec. (Needs more debugging.)Rob Landley
2014-07-29Actually set the again flag when calling the dirtree comeagain callback.Rob Landley
2014-07-27Patch from Isaac Dunham to work around the deficiencies in musl's regex ↵Rob Landley
engine (which break building under alpine linux). Musl's regex engine doesn't support \| which changes the behavior of busybox sed, breaks toybox grep... I need to come up with a musl patch, in the meantime here's a workaround.
2014-07-26Move DIRTREE_COMEAGAIN second callback up to when the filehandle is still ↵Rob Landley
open, and add dir->again variable to distinguish second call instead of checking for -1 filehandle.
2014-07-26Default xcreate/xopen to O_CLOEXEC. (Pass O_CLOEXEC in the flags to switch ↵Rob Landley
it back off.) This way we're not leaking filehandles to children from things like find -exec.
2014-07-26Document more cleanup.Rob Landley
2014-07-21Have single.sh enable I18N and FLOAT.Rob Landley
2014-07-21Improve gid/uid error messages.Rob Landley
2014-07-21Little endian and big endian versions of peek (for host.c).Rob Landley
2014-07-21Fix memory leak in error path.Rob Landley
2014-07-20Don't go into an endless loop if we hit a bad utf8 sequence without -q.Rob Landley
2014-07-20Isaac Dunham spotted that dhcp was also reimplementing daemon().Rob Landley
2014-07-20Add utf8 support to ls -C.Rob Landley
Use wcwidth() instead of strlen(), and extend the -q substitution to also whiteout nonprintable characters that are nonparseable utf8 snippets.
2014-07-19find needs "c" suffix to -size.Rob Landley
2014-07-18Find bugfixes.Rob Landley
The check for -print vs -print0 was tested before I optimized out the "-" in the strcmps, and I didn't adjust the offset or retest it. (Ooops.) Also, I wasn't clearing the ! value when descending into parentheticals, so "find . -name blah -o \! \( -stuff -o -thing \)" acted like it had a spurious second ! before -stuff inside the parentheses.
2014-07-17Apparently I deleted this locally but forgot to commit the removal. Oops.Rob Landley
2014-07-17Use libc daemon() instead of pending daemonize.Rob Landley
2014-07-16Write a new find. Not quite done, but the basics work.Rob Landley
2014-07-14fdisk : partitions > 60, are deleted, offset entry for extended partitions ↵Ashwini Sharma
was wrong. fsck: memory leak/segfault resolved. ftpget : warning for unused variable 'ptr' removed.
2014-07-14Implement -HL for cp.Rob Landley
2014-07-07Release notes for 0.4.9.Rob Landley
2014-07-07Added tag 0.4.9 for changeset ffc015bddb26Rob Landley
2014-07-06Autodetect --bind and --loop mounts in a way that doesn't interfere with ↵0.4.9Rob Landley
network filesystems or -t newtype mounts that trigger a module load.
2014-07-06minor cleanup: move a global variable into GLOBALS(), inline strchr_null(), ↵Rob Landley
some whitespace and bracket cleanups.
2014-07-06Minor cleanup pass.Rob Landley
2014-07-06Add nbd-client.Rob Landley
2014-07-06Promote killall5 by merging it into kill.Rob Landley
Slight conflict here: this puts killall5 in the posix directory. But the commands sharing code trumps that.
2014-07-05Try to lookup all umounts in /proc/mounts so we can auto-zap loopback devices.Rob Landley
2014-07-04TAR - this supports archive creation and extraction based on the USTAR ↵Ashwini Sharma
format (described in PAX Spec). For (de)compression '-z' gzip is supported.
2014-07-04Cut down from 1000+ file attribute tests to a more manageable number.Rob Landley
2014-07-04I have developed few testsuites for toybox commands -Divya Kothari
1. lsattr/chattr 2. mount 3. chmod 4. pgrep/pkill 5. groupadd 6. groupdel 7. useradd
2014-07-03Have "make test" run tests in testdir/testdir instead of same directory as ↵Rob Landley
command symlinks. (Makes cleanup easier.)
2014-07-03date -r wasn't saving the result in the right variable. (And make date -ur ↵Rob Landley
work.)
2014-07-03Fix rm -rf of chmod 000 directories.Rob Landley
2014-06-30Promote makedevs to other.Rob Landley
2014-06-30Bugfixes for cleaned up makedevs.Rob Landley
Newline after table = <stdin>, move start/increment/count loop around entire device creation if/else staircase including chmod/chown code and use ptr to record node vs toybuf.
2014-06-28Use dlist_terminate() in patch.Rob Landley
2014-06-28Add : as an alias for true (toysh needs this).Rob Landley
2014-06-28Make fallocate depend on probe for libc support.Rob Landley
2014-06-28Add fallocate probe for uClibc.Rob Landley
2014-06-28Promote mkpasswd from pending to other.Rob Landley
2014-06-28Cleanup read_password(), factor out set_terminal(), fix salt bug (des wants ↵Rob Landley
the salt raw, no $ at the beginning).
2014-06-27Update cleanup page, now linking to descriptions of all of the ifconfig cleanup.Rob Landley
2014-06-26I have developed few testsuite for toybox commands - ls, ln, rm, mv, printf, ↵Divya Kothari
dd, renice.
2014-06-25Cleanup pass on mkpasswd.cRob Landley
2014-06-25Cleanup pass on makedevs. Need to test it before promoting.Rob Landley
2014-06-24Glibc and uClibc provide CERASE from termios.h, but musl requies you to ↵Rob Landley
#include a non-posix header and the maintainer considers this a feature. So just use the constant directly.
2014-06-24find_in_path() is supposed to work with a NULL path, but didn't. Fix it.Rob Landley
2014-06-24Tweak license page to explicitly say that zero clause BSD is functionally ↵Rob Landley
equivalent to placing the code in the public domain. This license variant looks like BSD, but is an unrestricted permission grant that doesn't require you to copy specific license text into derivative works. (The second paragraph is about something we DON'T do, I.E. provide any sort of warantee, and is just boilerplate from BSD to make it look like a BSD license.)