Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Enable -Wimplicit-fallthrough | Tavian Barnes | 2021-06-02 | 4 | -7/+28 | |
| | ||||||
* | eval: Raise RLIMIT_NOFILE if possible | Tavian Barnes | 2021-05-20 | 4 | -11/+62 | |
| | | | | | | This lets us keep more open FDs cached in bftw(). The limit is lowered before running -exec commands, in case they're incompatible with a high limit (e.g. due to select()). | |||||
* | spawn: New bfs_spawn_addsetrlimit() action | Tavian Barnes | 2021-05-20 | 2 | -0/+27 | |
| | ||||||
* | Use `<< {10,20,...}` instead of `*1024*1024...` | Tavian Barnes | 2021-05-20 | 2 | -6/+6 | |
| | ||||||
* | tests: Don't use -perm /MODE in POSIX tests | Tavian Barnes | 2021-05-20 | 1 | -2/+2 | |
| | ||||||
* | ci/freebsd: Use the official tailscale GitHub action | Tavian Barnes | 2021-05-18 | 1 | -13/+4 | |
| | ||||||
* | ci/freebsd: Use `tailscale ip` instead of hardcoding it | Tavian Barnes | 2021-05-18 | 1 | -3/+4 | |
| | ||||||
* | ci/freebsd: Don't run multiple jobs at once | Tavian Barnes | 2021-05-17 | 1 | -0/+2 | |
| | ||||||
* | ci/freebsd: Work around https://github.com/tailscale/tailscale/issues/1889 | Tavian Barnes | 2021-05-17 | 1 | -3/+4 | |
| | ||||||
* | ci/freebsd: Use an ephemeral Tailscale key | Tavian Barnes | 2021-05-17 | 1 | -7/+11 | |
| | | | | There should be no need for the shared machine key any more. | |||||
* | tests: Optimize test_delete_many() | Tavian Barnes | 2021-04-18 | 1 | -1/+2 | |
| | ||||||
* | tests: Don't fail -flags test if we can't set flags | Tavian Barnes | 2021-04-18 | 1 | -4/+2 | |
| | ||||||
* | tests: Don't fail xattr tests if we can't set xattrs at all | Tavian Barnes | 2021-04-18 | 1 | -29/+17 | |
| | ||||||
* | tests: Add a test for deleting large directories | Tavian Barnes | 2021-04-18 | 2 | -0/+13 | |
| | | | | This serves as a test for https://github.com/tavianator/bfs/issues/67 | |||||
* | util: Tweak the safe read/write functions | Tavian Barnes | 2021-04-15 | 4 | -59/+49 | |
| | ||||||
* | Merge pull request #73 from markus-oberhumer/safe-read-write | Tavian Barnes | 2021-04-15 | 4 | -18/+80 | |
|\ | ||||||
| * | util: add safe_read_all() and safe_write_all() functions. | Markus F.X.J. Oberhumer | 2021-04-15 | 4 | -13/+48 | |
| | | ||||||
| * | util: introduce safe versions of read & write that handle interrupted | Markus F.X.J. Oberhumer | 2021-04-15 | 4 | -8/+35 | |
|/ | | | | systems calls. | |||||
* | Merge pull request #72 from markus-oberhumer/allow-empty-less-envvar | Tavian Barnes | 2021-04-14 | 1 | -7/+12 | |
|\ | | | | | parse: launch_pager(): set the LESS environment variable if it is empty. | |||||
| * | parse: launch_pager(): set the LESS environment variable if it is empty. | Markus F.X.J. Oberhumer | 2021-04-14 | 1 | -7/+12 | |
|/ | ||||||
* | Merge pull request #70 from markus-oberhumer/fix-ci-freebsd | Tavian Barnes | 2021-04-14 | 1 | -1/+1 | |
|\ | | | | | CI: try to fix freebsd once again. | |||||
| * | CI: try to fix freebsd once again. | Markus F.X.J. Oberhumer | 2021-04-14 | 1 | -1/+1 | |
|/ | ||||||
* | ci/freebsd: Don't skip non-pull-request events | Tavian Barnes | 2021-04-13 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #69 from markus-oberhumer/fix-launch-pager-v2 | Tavian Barnes | 2021-04-13 | 2 | -1/+3 | |
|\ | ||||||
| * | parse: check if PAGER environment variable is empty. | Markus F.X.J. Oberhumer | 2021-04-13 | 1 | -1/+1 | |
| | | ||||||
| * | ci/freebsd: only run if we are the correct repository owner. | Markus F.X.J. Oberhumer | 2021-04-13 | 1 | -0/+2 | |
|/ | ||||||
* | README: Remove repology badge | Tavian Barnes | 2021-03-31 | 1 | -2/+0 | |
| | ||||||
* | ci/freebsd: Set the hostname explicitly | Tavian Barnes | 2021-03-28 | 1 | -2/+3 | |
| | ||||||
* | README: Add a FreeBSD badge | Tavian Barnes | 2021-03-28 | 1 | -0/+1 | |
| | ||||||
* | ci: Add a FreeBSD build | Tavian Barnes | 2021-03-28 | 1 | -0/+32 | |
| | ||||||
* | test: Add more tests for -H/-L and -type l | Tavian Barnes | 2021-03-28 | 16 | -13/+49 | |
| | ||||||
* | fsade: Fix msan false positive in bfs_check_acl_type() | Tavian Barnes | 2021-03-28 | 3 | -4/+10 | |
| | ||||||
* | ci: Switch to GitHub Actions | Tavian Barnes | 2021-03-28 | 5 | -46/+51 | |
| | ||||||
* | tests: Actually remove capabilities after dropping them | Tavian Barnes | 2021-03-23 | 1 | -5/+8 | |
| | ||||||
* | tests: Avoid looping forever when failing to drop capabilities | Tavian Barnes | 2021-03-22 | 1 | -1/+9 | |
| | | | | Link: https://github.com/void-linux/void-packages/pull/29437/checks?check_run_id=2169825021 | |||||
* | util: Fix build on GNU Hurd | Tavian Barnes | 2021-03-21 | 1 | -1/+1 | |
| | | | | | | | Hurd apparently #defines BSD, but doesn't profide strtofflags. So make all that code conditional on !__GNU__. Link: https://buildd.debian.org/status/fetch.php?pkg=bfs&arch=hurd-i386&ver=2.2-1&stamp=1615370700&raw=0 | |||||
* | tests: Drop capabilities when run as root on Linux | Tavian Barnes | 2021-03-21 | 1 | -6/+29 | |
| | | | | | | | | | | | | | bfs's tests rely on file permissions being enforced, which leads them to work incorrectly when run as root. This is probably the most common packaging issue for bfs, most recently seen with Void Linux's update to bfs 2.2. Make it easier on packagers by using capsh, if it's available, to drop the DAC privileges for the tests. Link: https://github.com/void-linux/void-packages/pull/29437#issuecomment-798670288 Link: https://salsa.debian.org/lamby/pkg-bfs/-/commit/b173efb35da126adb39b0984219d6a2fd9ff428f | |||||
* | bftw: Fix bftw_type() for broken links and BFS_STAT_FOLLOW | Tavian Barnes | 2021-03-10 | 2 | -12/+17 | |
| | | | | This fixes link target coloring for broken links with -L. | |||||
* | RELEASES.md: We made it to 2021, actually | Tavian Barnes | 2021-03-06 | 1 | -1/+1 | |
| | ||||||
* | Release 2.22.2 | Tavian Barnes | 2021-03-06 | 3 | -3/+23 | |
| | ||||||
* | .gitattributes: Remove .cirrus.yml | Tavian Barnes | 2021-03-06 | 1 | -1/+0 | |
| | ||||||
* | Support -flags on all the BSDs | Tavian Barnes | 2021-03-06 | 4 | -26/+62 | |
| | ||||||
* | Implement -flags, from FreeBSD find | Tavian Barnes | 2021-03-06 | 8 | -4/+133 | |
| | | | | This is the last BSD-specific primary I'm aware of. Fixes #14. | |||||
* | eval: Set the exit status automatically in eval_error() | Tavian Barnes | 2021-03-06 | 1 | -5/+3 | |
| | ||||||
* | travis: Try a different way to work around the apt bug | Tavian Barnes | 2021-02-26 | 1 | -10/+4 | |
| | ||||||
* | Revert "travis: Do apt-get upgrade" | Tavian Barnes | 2021-02-16 | 1 | -1/+0 | |
| | | | | | | update and upgrade are different things. This reverts commit 7419fdf1a24394529ea4aeca0053f7d0262ca39d. | |||||
* | travis: Do apt-get upgrade | Tavian Barnes | 2021-02-11 | 1 | -0/+1 | |
| | | | | | Hopefully this works around https://salsa.debian.org/apt-team/apt/-/commit/998a17d7e6f834c341f198ca5b6df2f27e18df38 | |||||
* | Fix up some #includes | Tavian Barnes | 2021-02-05 | 4 | -4/+0 | |
| | ||||||
* | Update copyright dates | Tavian Barnes | 2021-02-05 | 14 | -14/+14 | |
| | ||||||
* | completions/bash: Use bash-completions helpers | Tavian Barnes | 2021-02-05 | 1 | -116/+68 | |
| | | | | | _filedir is especially great for fixing tab completion of filenames with spaces. Other helpers like _fstypes are useful too. |