summaryrefslogtreecommitdiffstats
path: root/src/stat.c
AgeCommit message (Collapse)Author
2023-01-25Replace license boilerplate with SPDX tagsTavian Barnes
And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
2022-11-08tests/xtouch: Add some missing POSIX touch featuresTavian Barnes
2022-11-06bfstd: Rename from util and reorganize itTavian Barnes
2022-11-06config: Split out some of util.h into a new headerTavian Barnes
2022-11-06util: Get rid of BFS_HAS_INCLUDE() wrapper for __has_include()Tavian Barnes
Since __has_include() needs special preprocessing rules (e.g. not expanding `linux` in `__has_include(<linux/stat.h>)`, macros that expand to __has_include() do not necessarily behave correctly. Instead, we have to directly test `#if __has_include(...)`. See https://bugs.llvm.org/show_bug.cgi?id=37990 for more details.
2022-11-06util: Use fewer BFS_*() wrappers for feature testingTavian Barnes
2022-10-18stat: Check Android API level for statx() supportTavian Barnes
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.
2022-05-29stat: Don't pass AT_NO_AUTOMOUNT on GNU Hurd before glibc 2.35Tavian Barnes
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
2022-05-12stat: Pass AT_NO_AUTOMOUNT if possibleTavian Barnes
Previously bfs would trigger automounts even when it didn't descend into the mount directory, while GNU find does not.
2022-05-12stat: Keep statx()-specific flags separateTavian Barnes
Previously, if statx() was unsupported at runtime, we could end up passing AT_STATX_DONT_SYNC to fstatat() which doesn't expect it.
2022-05-12stat: Factor the BFS_STAT_TRYFOLLOW retry logic outTavian Barnes
2022-05-12stat: Rename some feature detection macrosTavian Barnes
2022-04-16Source / Include Folder (#88)トトも
Moved Source Files Into `src` Folder