summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-12-21travis: Do 32-bit builds tooTavian Barnes
2016-12-21Set _FILE_OFFSET_BITS to 64Tavian Barnes
With the new support for -size n[TP], this is needed to avoid overflow on 32-bit platforms.
2016-12-20Bump the version to 0.880.88Tavian Barnes
2016-12-20Add some text to the -help outputTavian Barnes
2016-12-20Implement -mnewerTavian Barnes
2016-12-20Add tera and peta suffices for -sizeTavian Barnes
2016-12-20Implement -sparse from FreeBSD findTavian Barnes
2016-12-20Support -[gu]id NAME like BSD findTavian Barnes
2016-12-20Don't check errno after get{gr,pw}nam()Tavian Barnes
Turns out it doesn't always keep errno 0, even if the only problem is a failed lookup. This was observed on a machine with Kerberos auth.
2016-12-18Implement BSD find's -depth NTavian Barnes
2016-12-18tests: Allow limiting the testsuite to POSIX, BSD, GNU, and bfs-specific ↵Tavian Barnes
features
2016-12-18tests.sh: Let the bfs binary be specified on the command lineTavian Barnes
2016-12-18Add support for -x (same as -mount/-xdev, from BSD)Tavian Barnes
2016-12-18Implement -regex, -iregex, and -regextype/-ETavian Barnes
2016-12-17bftw: Clean up the dirqueue implementation a bitTavian Barnes
2016-12-17Fix the build on macOSTavian Barnes
macOS hides st_[acm]timespec if _POSIX_C_SOURCE is defined, unless _DARWIN_C_SOURCE is too.
2016-12-16Fix the build on OpenIndianaTavian Barnes
2016-12-08Add a .travis.ymlTavian Barnes
2016-12-08tests: Fix failure when /tmp is a symlink.Tavian Barnes
2016-12-08tests: Don't use install -DTavian Barnes
-D is a GNU-ism that doesn't work on BSD or macOS.
2016-12-05tests: Don't check -size for directoriesTavian Barnes
2016-12-05tests: Don't check -links for directoriesTavian Barnes
2016-12-04Move portability code into util.hTavian Barnes
2016-11-24Release 0.84.10.84.1Tavian Barnes
2016-11-24Update some copyright dates.Tavian Barnes
2016-11-24Allow // to be different from /Tavian Barnes
POSIX says that // may be resolved in an implementation-defined way (generally, to access network shares). So don't use it in tests, and don't canonicalize it to '/' in -execdir.
2016-11-23bftw: Infer the flags in ftwbuf_stat()Tavian Barnes
2016-11-22tests: Make sure the temporary directory is owned by the current user/groupTavian Barnes
BSDs apparently prefer to create new files/directories with the same group as the parent directory, rather than the current primary group.
2016-11-22tests: Mkae LC_ALL=C apply to the whole pipeline when sorting.Tavian Barnes
2016-11-22Don't pass AT_SYMLINK_NOFOLLOW to faccessat()Tavian Barnes
It's an invalid flag for that call, and FreeBSD actually complains.
2016-11-21bftw: Make a defensive copy of the ftwbufTavian Barnes
The callback may modify the ftwbuf, but we check it after the callback (for typeflag and statbuf). Have them mutate a copy instead.
2016-11-21bftw: Always initialize dircache_entry::{dev,ino}Tavian Barnes
If stat() fails, they won't get filled in otherwise. Then cycle detection would have read uninitialized values.
2016-11-21bftw: Make bftw_flags more similar to fts() options.Tavian Barnes
2016-11-21Support -perm +MODE for symbolic modes.Tavian Barnes
Only things like -perm +777 are disallowed by GNU find.
2016-11-21Fix -execdir for /Tavian Barnes
2016-11-21Fix -execdir for root paths with no slashes.Tavian Barnes
2016-11-21tests: Don't rely on the system 'find' for the expected output.Tavian Barnes
2016-11-14Check for readdir() errors everywhere.Tavian Barnes
2016-11-13Don't try to -delete the current directory.Tavian Barnes
2016-11-13bftw: Keep trailing slashes on the root in BFTW_DEPTH mode.Tavian Barnes
2016-11-13Redirect stdin from /dev/null for -ok and -okdir.Tavian Barnes
2016-11-13parse: Don't print warnings if standard in is not a terminal.Tavian Barnes
2016-11-03bftw: Don't fail just because we couldn't open/read a directory.Tavian Barnes
With BFTW_RECOVER set, we're not supposed to fail just because a single measly directory couldn't be handled. But using state.error as scratch space made us fail in this case. The end result is that #7 resurfaced, so fix it again.
2016-10-29Bump the version to 0.840.84Tavian Barnes
2016-10-29Implement -perm.Tavian Barnes
2016-10-24parse: Use free_expr(expr), not free(expr).Tavian Barnes
2016-10-24tests.sh: Give some feedback while running.Tavian Barnes
2016-10-24tests: Be more careful not to invoke remove-siblings.sh $scratch.Tavian Barnes
2016-10-24Implement -ignore_readdir_race.Tavian Barnes
2016-10-24Check for POSIX timers before using them.Tavian Barnes