Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-12-08 | tests: Don't use install -D | Tavian Barnes | |
-D is a GNU-ism that doesn't work on BSD or macOS. | |||
2016-12-05 | tests: Don't check -size for directories | Tavian Barnes | |
2016-12-05 | tests: Don't check -links for directories | Tavian Barnes | |
2016-12-04 | Move portability code into util.h | Tavian Barnes | |
2016-11-24 | Release 0.84.10.84.1 | Tavian Barnes | |
2016-11-24 | Update some copyright dates. | Tavian Barnes | |
2016-11-24 | Allow // 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-23 | bftw: Infer the flags in ftwbuf_stat() | Tavian Barnes | |
2016-11-22 | tests: Make sure the temporary directory is owned by the current user/group | Tavian 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-22 | tests: Mkae LC_ALL=C apply to the whole pipeline when sorting. | Tavian Barnes | |
2016-11-22 | Don't pass AT_SYMLINK_NOFOLLOW to faccessat() | Tavian Barnes | |
It's an invalid flag for that call, and FreeBSD actually complains. | |||
2016-11-21 | bftw: Make a defensive copy of the ftwbuf | Tavian 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-21 | bftw: 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-21 | bftw: Make bftw_flags more similar to fts() options. | Tavian Barnes | |
2016-11-21 | Support -perm +MODE for symbolic modes. | Tavian Barnes | |
Only things like -perm +777 are disallowed by GNU find. | |||
2016-11-21 | Fix -execdir for / | Tavian Barnes | |
2016-11-21 | Fix -execdir for root paths with no slashes. | Tavian Barnes | |
2016-11-21 | tests: Don't rely on the system 'find' for the expected output. | Tavian Barnes | |
2016-11-14 | Check for readdir() errors everywhere. | Tavian Barnes | |
2016-11-13 | Don't try to -delete the current directory. | Tavian Barnes | |
2016-11-13 | bftw: Keep trailing slashes on the root in BFTW_DEPTH mode. | Tavian Barnes | |
2016-11-13 | Redirect stdin from /dev/null for -ok and -okdir. | Tavian Barnes | |
2016-11-13 | parse: Don't print warnings if standard in is not a terminal. | Tavian Barnes | |
2016-11-03 | bftw: 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-29 | Bump the version to 0.840.84 | Tavian Barnes | |
2016-10-29 | Implement -perm. | Tavian Barnes | |
2016-10-24 | parse: Use free_expr(expr), not free(expr). | Tavian Barnes | |
2016-10-24 | tests.sh: Give some feedback while running. | Tavian Barnes | |
2016-10-24 | tests: Be more careful not to invoke remove-siblings.sh $scratch. | Tavian Barnes | |
2016-10-24 | Implement -ignore_readdir_race. | Tavian Barnes | |
2016-10-24 | Check for POSIX timers before using them. | Tavian Barnes | |
2016-10-22 | Account for non-standard struct stat on macOS. | Tavian Barnes | |
2016-10-18 | main: IN is read, OUT is write. | Tavian Barnes | |
Oops :/ | |||
2016-10-16 | main: Make sure that STD{IN,OUT,ERR}_FILENO are open. | Tavian Barnes | |
Otherwise invocations like bfs >&- may do weird things like try to write to directory descriptors. | |||
2016-10-16 | Check for errors in -print and friends. | Tavian Barnes | |
2016-10-02 | bftw: Add support for some exotic file types, where available. | Tavian Barnes | |
2016-10-02 | parse: Ignore -- on the command line. | Tavian Barnes | |
find uses -- to indicate the end of the flags. That is, $ find -L -- -type f is allowed, but $ find -- -L -type f results in an error about an unknown predicate `-L`. This behaviour doesn't seem particularly useful -- in particular, unlike most other tools, it doesn't help you if you want to specify a filename beginning with a -. So to ensure bfs is compatible with all GNU find command lines, we just ignore -- whenever it appears. | |||
2016-10-02 | bftw: Handle errors from readdir(). | Tavian Barnes | |
2016-09-10 | bftw: Fix do/to typo in a comment. | Tavian Barnes | |
2016-09-09 | Give case a little bit of weight in the typo metric. | Tavian Barnes | |
2016-09-06 | Give suggestions for operators too. | Tavian Barnes | |
2016-09-05 | Use the two-star list augmenting method. | Tavian Barnes | |
2016-09-04 | Bump the version to 0.82.0.82 | Tavian Barnes | |
2016-09-04 | Require -{min,max}depth argument to be positive. | Tavian Barnes | |
2016-09-04 | Implement typo detection for literals. | Tavian Barnes | |
2016-09-04 | Use a table-driven parser for literals. | Tavian Barnes | |
2016-08-24 | bftw: Initialize typeflag to BFTW_UNKNOWN. | Tavian Barnes | |
It was totally broken on filesystems that spit out DT_UNKNOWN. | |||
2016-07-13 | Implement -f PATH from BSD find. | Tavian Barnes | |
2016-07-13 | Use a linked list to store the root paths. | Tavian Barnes | |
2016-06-28 | Implement -D rates. | Tavian Barnes | |