Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stat: Check Android API level for statx() support | Tavian Barnes | 2022-10-18 | 1 | -1/+1 |
| | | | | | | Bionic's <sys/stat.h> can define STATX_BASIC_STATS without declaring statx() on lower API levels, so explicitly check for the version it was added in. | ||||
* | README: Get rid of square brackets | Tavian Barnes | 2022-10-18 | 1 | -12/+12 |
| | |||||
* | util: Stub out confstr() on Android | Tavian Barnes | 2022-10-17 | 2 | -3/+10 |
| | |||||
* | color: Add a (void) prototype | Tavian Barnes | 2022-10-17 | 1 | -1/+1 |
| | |||||
* | tests: Test -exec with a nonexistent command | Tavian Barnes | 2022-10-05 | 5 | -0/+116 |
| | |||||
* | tests: POSIX doesn't *require* -ok ... {} + to be unsupported | Tavian Barnes | 2022-09-18 | 1 | -2/+11 |
| | |||||
* | README: Update Fedora Linux installation instruction (#95) | Fábio Rodrigues Ribeiro | 2022-08-15 | 1 | -2/+1 |
| | | | Now in Fedora repositories | ||||
* | tests: Don't pass NUL bytes to sort | Tavian Barnes | 2022-07-18 | 4 | -5/+11 |
| | | | | The tests now pass with busybox instead of coreutils. | ||||
* | tests: Limit path lengths passed to mkdir | Tavian Barnes | 2022-07-13 | 1 | -4/+7 |
| | | | | FreeBSD limits mkdir() to 1023 bytes, not 4096. | ||||
* | tests: Set colors to the empty string for non-ttys | Tavian Barnes | 2022-07-13 | 1 | -0/+9 |
| | |||||
* | tests: Use set -u | Tavian Barnes | 2022-07-13 | 1 | -2/+2 |
| | |||||
* | tests: Optimize startup | Tavian Barnes | 2022-07-13 | 1 | -14/+14 |
| | | | | ./tests.sh is about 110ms faster on my machine with this patch. | ||||
* | tests: Add tests for parsing failures in more locations | Tavian Barnes | 2022-07-13 | 1 | -0/+15 |
| | |||||
* | tests: New test for -exec with unset $PATH | Tavian Barnes | 2022-07-12 | 2 | -0/+30 |
| | |||||
* | tests: Simplify snapshot testing without bfs_diff | Tavian Barnes | 2022-07-12 | 1 | -102/+51 |
| | |||||
* | parse: They're called "primary expressions," not "literals" | Tavian Barnes | 2022-07-05 | 3 | -8/+8 |
| | |||||
* | Release 2.6.12.6.1 | Tavian Barnes | 2022-07-05 | 3 | -2/+15 |
| | |||||
* | Merge pull request #94 from xfgusta/add-fish-completion | Tavian Barnes | 2022-06-14 | 2 | -0/+147 |
|\ | | | | | Add fish completion | ||||
| * | Add fish completion | Gustavo Costa | 2022-06-14 | 2 | -0/+147 |
|/ | |||||
* | tests: Add a test for every printf directive | Tavian Barnes | 2022-06-01 | 1 | -0/+13 |
| | |||||
* | Makefile: Pass -std=gnu11 for gcov builds | Tavian Barnes | 2022-05-31 | 1 | -0/+2 |
| | | | | | | | Otherwise, libgcov doesn't intercept functions like fork() and exec(), so we lose some coverage data in xspawn.c. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82457 | ||||
* | tests: Add tests for -warn/-nowarn | Tavian Barnes | 2022-05-29 | 1 | -0/+13 |
| | |||||
* | stat: Don't pass AT_NO_AUTOMOUNT on GNU Hurd before glibc 2.35 | Tavian Barnes | 2022-05-29 | 2 | -1/+7 |
| | | | | | Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hurd-i386&ver=2.6-1&stamp=1653764526 Link: https://sourceware.org/git/?p=glibc.git;a=commit;h=13710e7e6af6c8965cc9a63a0660cb4ce1966557 | ||||
* | README: Add Fedora Copr package to installation instructions | Tavian Barnes | 2022-05-25 | 1 | -0/+4 |
| | | | | Closes #83. | ||||
* | ci: Update GitHub actions | Tavian Barnes | 2022-05-24 | 2 | -5/+5 |
| | |||||
* | Release 2.62.6 | Tavian Barnes | 2022-05-21 | 3 | -2/+31 |
| | |||||
* | docs/BUILDING: Document BUILDDIR | Tavian Barnes | 2022-05-21 | 1 | -0/+1 |
| | |||||
* | ci/codecov: Run the sudo tests | Tavian Barnes | 2022-05-21 | 1 | -1/+1 |
| | |||||
* | tests: Don't print test names to non-ttys without --verbose=tests | Tavian Barnes | 2022-05-20 | 1 | -6/+15 |
| | | | | This should shrink the CI logs appreciably. | ||||
* | Makefile: Add a BUILDDIR variable for out-of-tree builds | Tavian Barnes | 2022-05-20 | 2 | -52/+61 |
| | | | | bfs can now be built from a read-only source tree. | ||||
* | Makefile: Split build into bin and obj directories | Tavian Barnes | 2022-05-16 | 8 | -73/+68 |
| | | | | | This also moves the main binary from ./bfs to ./bin/bfs, and ./tests.sh to ./tests/tests.sh, with the goal of keeping the repository root clean. | ||||
* | parse: Warn on paths found within -exclude | Tavian Barnes | 2022-05-13 | 1 | -0/+5 |
| | |||||
* | tests: New --stop flag to stop after the first failure | Tavian Barnes | 2022-05-13 | 1 | -1/+9 |
| | |||||
* | tests: Buffer standard error, and print it when tests fail | Tavian Barnes | 2022-05-13 | 2 | -93/+89 |
| | |||||
* | tests: Add --verbose={commands,errors,skipped,tests} options | Tavian Barnes | 2022-05-13 | 2 | -11/+38 |
| | |||||
* | ci/freebsd: Run in a jail | Tavian Barnes | 2022-05-13 | 1 | -5/+5 |
| | |||||
* | tests: Exit immediately if fail() detects a crash | Tavian Barnes | 2022-05-12 | 1 | -2/+2 |
| | |||||
* | tests: New skip_unless helper | Tavian Barnes | 2022-05-12 | 1 | -56/+68 |
| | |||||
* | tests: Use skip_if for sudo tests | Tavian Barnes | 2022-05-12 | 4 | -49/+66 |
| | | | | | | This lets us categorize the sudo tests properly, which fixes e.g. $ ./tests.sh --posix --sudo | ||||
* | stat: Pass AT_NO_AUTOMOUNT if possible | Tavian Barnes | 2022-05-12 | 3 | -0/+26 |
| | | | | | Previously bfs would trigger automounts even when it didn't descend into the mount directory, while GNU find does not. | ||||
* | stat: Keep statx()-specific flags separate | Tavian Barnes | 2022-05-12 | 1 | -8/+9 |
| | | | | | Previously, if statx() was unsupported at runtime, we could end up passing AT_STATX_DONT_SYNC to fstatat() which doesn't expect it. | ||||
* | stat: Factor the BFS_STAT_TRYFOLLOW retry logic out | Tavian Barnes | 2022-05-12 | 1 | -30/+25 |
| | |||||
* | stat: Rename some feature detection macros | Tavian Barnes | 2022-05-12 | 1 | -8/+8 |
| | |||||
* | color: Don't colorize capable files by default | Tavian Barnes | 2022-05-11 | 1 | -1/+1 |
| | | | | | | | GNU ls changed this default in coreutils 9.1, since checking capabilities has a severe performance penalty. Link: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=6b5134770d35b045e5a9219bf4a216324e0113d3 | ||||
* | color: Only check ln=target once | Tavian Barnes | 2022-05-11 | 1 | -7/+7 |
| | | | | Fixes: 7241d6cc35134fcb5ec6dfa81bbd01e430b2415f | ||||
* | Makefile: Look for .d files in the right places | Tavian Barnes | 2022-05-11 | 1 | -1/+1 |
| | | | | Fixes: f2cb2215213c0d831a697b0b440f78d9ad5c2b83 | ||||
* | main: Avoid a goto | Tavian Barnes | 2022-05-11 | 1 | -6/+5 |
| | |||||
* | README: Add links to upstream packages | Tavian Barnes | 2022-05-11 | 1 | -9/+9 |
| | |||||
* | Makefile: New check-install target | Tavian Barnes | 2022-05-09 | 1 | -0/+8 |
| | |||||
* | README: Use a table for side-by-side examples | Tavian Barnes | 2022-05-09 | 1 | -10/+35 |
| |