aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-02Squash mix of tabs and spaces to just spaces.Rob Landley
2014-08-02Missed checking in dirtree_recurse() change (now needs specific ↵Rob Landley
DIRTREE_SYMFOLLOW value, not just true/false).
2014-08-02Cosmetic tweak, slightly more conventional for loop.Rob Landley
2014-08-02Yank xrealpath prototype since the function's gone.Rob Landley
2014-08-02Add --help support to single.sh builds.Rob Landley
2014-08-02Unbreak find -exec.Rob Landley
2014-08-02New toys unified DIFF and USERDEL.Ashwini Sharma
2014-08-02mix.c - A very basic mixer.Bradley Conroy
2014-08-01factor: catch integer overflow.Rob Landley
Now factor 9223372036854775783 (largest positive 64 bit signed prime) takes a couple minutes but gives the right answer.
2014-08-01Add factor.Rob Landley
I was reading http://www.muppetlabs.com/~breadbox/txt/rsa.html and it mentioned "factor" and I noticed it was in coreutils. I'm not sure why it's in coreutils, but it's pretty trivial, so...
2014-07-30find.c: fix -iname.Rob Landley
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