summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stat: Remove __GNU__ guardTavian Barnes2024-05-071-1/+1
| | | | | The number of people running bfs on Hurd with an outdated glibc version is vanishingly small (I hope).
* stat: Prefer fstat(fd) to fstatat(fd, "", AT_EMPTY_PATH)Tavian Barnes2024-05-071-19/+13
| | | | | | | | | This lets us get rid of the runtime probe for AT_EMPTY_PATH support, and should be more efficient anyway. We still use statx(fd, "", AT_EMPTY_PATH) if available. Link: https://lore.kernel.org/linux-fsdevel/CAHk-=wiYnnv7Kw7v+Cp2xU6_Fd-qxQMZuuxZ61LgA2=Gtftw-A@mail.gmail.com/
* prelude: Kill unused __NetBSD_Prereq__() polyfillTavian Barnes2024-05-071-4/+0
|
* xtime: Don't use timegm() on FreeBSD+msanTavian Barnes2024-05-061-1/+3
|
* xtime: Use the libc's timegm() if presentTavian Barnes2024-05-064-7/+51
|
* build: Don't look for -s inside VAR=val in $MAKEFLAGSTavian Barnes2024-05-031-0/+2
|
* Makefile: Recommend --enable-release over RELEASE=yTavian Barnes2024-05-021-2/+2
|
* Release 3.23.2Tavian Barnes2024-05-022-1/+31
|
* Prefer ./configure --enable-release to RELEASE=yTavian Barnes2024-05-022-3/+3
|
* build: Add some nice aliases to ./configureTavian Barnes2024-05-016-138/+221
|
* build: Listen to make -sTavian Barnes2024-04-3010-55/+115
|
* build: Replace `make config` with a `./configure` scriptTavian Barnes2024-04-2963-387/+445
| | | | | | | | | | This lets us do more traditional out-of-tree builds like $ ../path/to/bfs/configure $ make The .mk files are moved from ./config to ./build, mostly so that ./configure will auto-complete easily.
* bench: Get rid of stray lsTavian Barnes2024-04-271-1/+0
|
* config: Just use NOT to implement NORTavian Barnes2024-04-262-19/+4
|
* config: Move .c files into config/{use,has} subdirectoriesTavian Barnes2024-04-2643-68/+70
|
* bench: Run make config when buildingTavian Barnes2024-04-251-2/+9
|
* config: Add BFS_USE_LIB* to config.h instead of CPPFLAGSTavian Barnes2024-04-259-75/+50
|
* ioq: Fix uninitialized values in ioq_create() cleanup pathTavian Barnes2024-04-241-4/+1
| | | | | | | | I switched from ZALLOC_FLEX() to ALLOC_FLEX() in hopes that msan would catch uninitialized values in ioq_thread_create(), but in doing so, forgot to initialize all fields before the first goto fail. Fixes: f64f76b ("ioq: Copy ring_ops from the previous thread")
* printf: Check dynamic format strings more carefullyTavian Barnes2024-04-242-41/+48
|
* printf: Refactor %y/%Y implementationTavian Barnes2024-04-243-59/+53
|
* ctx: Escape paths when reporting errors in bfs_ctx_free()Tavian Barnes2024-04-241-1/+1
|
* opt: Add missing NULL check in visit_shallow()Tavian Barnes2024-04-241-1/+5
| | | | | visit_shallow() should propagate NULL, but look_up_visitor() dereferences expr to know which visitor to return.
* dstring: Add missing va_end() to dstrvcatf() error pathTavian Barnes2024-04-241-0/+1
|
* eval: Plug memory leak if bfs_opendir() failsTavian Barnes2024-04-247-18/+32
|
* build(deps): bump codecov/codecov-action from 3 to 4dependabot[bot]2024-04-221-1/+1
| | | | | | | | | | | | | | | Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Enable Dependabot for GitHub ActionsTavian Barnes2024-04-221-0/+6
|
* ci/netbsd: Use cross-platform-actionsTavian Barnes2024-04-221-16/+8
|
* ci/openbsd: Use cross-platform-actionsTavian Barnes2024-04-221-14/+8
|
* ci/freebsd: Use cross-platform-actionsTavian Barnes2024-04-221-14/+8
|
* ci/codeql: Exclude some alertsTavian Barnes2024-04-222-1/+14
| | | | And try not to analyze config/*.c
* fsade: Implement ACL detection on IllumosTavian Barnes2024-04-226-13/+32
|
* config: Check for acl_get_file()Tavian Barnes2024-04-224-8/+10
|
* fsade: Simplify BFS_CAN_CHECK_CAPABILITIESTavian Barnes2024-04-222-13/+1
|
* config: Check for acl_get_{entry,tag_type}()Tavian Barnes2024-04-224-12/+40
|
* config: Check for extattr_{get,list}_{file,link}()Tavian Barnes2024-04-227-11/+97
| | | | This lets us implement -xattr on DragonFly BSD.
* config: Check for max_align_tTavian Barnes2024-04-193-4/+24
|
* config: Check for aligned_alloc()Tavian Barnes2024-04-193-3/+12
|
* config: Check for struct stat::st_flagsTavian Barnes2024-04-193-1/+11
|
* config: Check for struct stat::st_{a,c,m,birth}{tim,timespec}Tavian Barnes2024-04-198-11/+70
|
* config: Check for struct tm::tm_gmtoffTavian Barnes2024-04-193-1/+11
|
* config: Check for fdclosedir()Tavian Barnes2024-04-194-2/+11
|
* config: Check for strerror_[lr]()Tavian Barnes2024-04-196-23/+67
|
* config: Check for pipe2()Tavian Barnes2024-04-193-1/+12
|
* config: Check for statx()Tavian Barnes2024-04-195-9/+31
|
* config: Check for acl_is_trivial_np()Tavian Barnes2024-04-193-2/+14
|
* config: Check for confstr()Tavian Barnes2024-04-193-5/+15
|
* config: Check for getdents{,64}()Tavian Barnes2024-04-197-9/+45
|
* config: Check for posix_spawn_file_actions_addfchdir{,_np}()Tavian Barnes2024-04-195-22/+32
|
* config: Check for program_invocation_short_nameTavian Barnes2024-04-1910-6/+96
| | | | | | This lets us pick it up on musl too, since there's no __MUSL__ macro. Link: https://wiki.musl-libc.org/faq#Q:-Why-is-there-no-%3Ccode%3E__MUSL__%3C/code%3E-macro?
* config: Test-compile packages even if pkg-config says they existTavian Barnes2024-04-192-55/+55
| | | | This fixes `make config CC=musl-gcc`, for example.