aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-09Disable xopen's default O_CLOEXEC for oneit.Rob Landley
2014-08-09Parallelize the build. (set CPUS=1 to force single processor build, or ↵Rob Landley
another number to override processor count autodetect.)
2014-08-07Fix -mindepth and -maxdepth to not drill down into excluded directories.Rob Landley
The fact other implementations don't implement "! -mindepth" doesn't mean we can't. Also, find uses +N, N, -N for everything else but this extension doesn't. Also, -depth already had a definition and this has nothing to do with that. It's a poorly thought-out extension, is what I'm saying.
2014-08-05More find bugfixes.Rob Landley
2014-08-05Rereading posix find.c page: "Specifying more than one of the ↵Rob Landley
mutually-exclusive options -H and -L shall not be considered an error. The last option specified shall determine the behavior of the utility."
2014-08-05find.c: Posix wants loop detection.Rob Landley
2014-08-05Building busybox from source needs find -not (a synonym for posix's "!").Rob Landley
2014-08-05Fix a couple patch bugs concerning error output.Rob Landley
2014-08-04find.c: add -mindepth, -maxdepth, and document -newer and -depth.Rob Landley
2014-08-03Implement exec -user, -group, and -newer. Enable find in defconfig.Rob Landley
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