aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-16Add install to cp/mv.Rob Landley
2014-08-15Fix bug reported by Ashwini Sharma: [-abc] syntax to switch off a command forgetRob Landley
s _all_ saved command line arguments in GLOBALS(), not just for the command bein g dropped.
2014-08-15If string_to_mode() is called on a base mode with S_ISDIR() and such set, ↵Rob Landley
pass those extra bits through.
2014-08-12Enable a command's sub-options in single builds.Rob Landley
2014-08-12A toy _BLOCKDEV_ to get/set block device properties.Ashwini Sharma
2014-08-12Patches to commands for issues reported from static analysis tool.Ashwini Sharma
portability.h.patch - it is for O_CLOEXEC, as compiler complained of it. Makefile.patch - for cleaning generated/*.o files and libopts.dat file [Fixup to uniq.c from Rob.]
2014-08-11Promote lspci.Rob Landley
2014-08-11Cleanup pass on lspci.Rob Landley
2014-08-10Update clean to clean up after new parallel build.Rob Landley
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.