Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | build: Move feature test macros to prelude.h | Tavian Barnes | 2024-08-28 | 1 | -1/+0 |
| | | | | | | This replaces the explicit CPPFLAGS list in flags.mk with just `-include src/prelude.h`, shortening our compiler command lines and allowing them to be easily documented. | ||||
* | prelude: Split bfs-specific utilities into new bfs.h header | Tavian Barnes | 2024-08-28 | 1 | -0/+3 |
| | |||||
* | dir: Add support for posix_getdents() | Tavian Barnes | 2024-05-17 | 1 | -4/+12 |
| | | | | | | | | This will be added to the next POSIX standard, and is already implemented in musl. Link: https://www.austingroupbugs.net/view.php?id=697 Link: https://git.musl-libc.org/cgit/musl/commit/?id=1b0d48517f816e98f19111df82f32bfc1608ecec | ||||
* | config: Check for fdclosedir() | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | config: Check for getdents{,64}() | Tavian Barnes | 2024-04-19 | 1 | -6/+8 |
| | |||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | dir: New flag to control whiteout visibility | Tavian Barnes | 2023-10-17 | 1 | -2/+10 |
| | |||||
* | dir: Fix FreeBSD union mounts | Tavian Barnes | 2023-10-17 | 1 | -8/+46 |
| | |||||
* | dir: Add a flags parameter to bfs_opendir() | Tavian Barnes | 2023-10-17 | 1 | -11/+20 |
| | |||||
* | dir: Fix Android build | Tavian Barnes | 2023-10-14 | 1 | -1/+1 |
| | | | | Android doesn't provide a getdents() wrapper, so use the syscall. | ||||
* | bftw: Try to close files asynchronously | Tavian Barnes | 2023-07-10 | 1 | -17/+3 |
| | |||||
* | Unify macro naming conventions | Tavian Barnes | 2023-06-24 | 1 | -14/+14 |
| | | | | | In particular, macros that decide whether to use a particular API/ dependency should be spelled BFS_USE_*, and should be configurable. | ||||
* | dir: Arena-allocate directories | Tavian Barnes | 2023-06-20 | 1 | -21/+23 |
| | |||||
* | dir: New bfs_polldir() function for directory readahead | Tavian Barnes | 2023-06-13 | 1 | -22/+66 |
| | |||||
* | dir: Add a flag to bfs_freedir() to force the fd to stay the same | Tavian Barnes | 2023-06-12 | 1 | -5/+13 |
| | |||||
* | sanity: Add wrappers for sanitizer interfaces | Tavian Barnes | 2023-05-25 | 1 | -9/+3 |
| | |||||
* | Switch from assert() to bfs_assert()/bfs_verify() | Tavian Barnes | 2023-05-18 | 1 | -2/+2 |
| | |||||
* | Use SYS_* instead of __NR_* | Tavian Barnes | 2023-05-16 | 1 | -1/+1 |
| | |||||
* | config: Provide <stdalign.h> and <stdbool.h> | Tavian Barnes | 2023-05-11 | 1 | -2/+0 |
| | | | | In anticipation of C23, since those headers won't be necessary any more. | ||||
* | style: Don't use tabs to indent preprocessor directives | Tavian Barnes | 2023-05-03 | 1 | -10/+10 |
| | |||||
* | dir: Allow overriding BFS_GETDENTS | Tavian Barnes | 2023-04-07 | 1 | -18/+23 |
| | |||||
* | dir: s/d_fileno/d_ino/ | Tavian Barnes | 2023-03-27 | 1 | -1/+1 |
| | |||||
* | dir: Explicitly align struct bfs_dir for the trailing dirent buffer | Tavian Barnes | 2023-03-27 | 1 | -1/+3 |
| | |||||
* | dir: Use getdents() on FreeBSD too | Tavian Barnes | 2023-03-27 | 1 | -30/+39 |
| | |||||
* | dir: Use libc's getdents64() wrapper if possible | Tavian Barnes | 2023-03-27 | 1 | -109/+76 |
| | |||||
* | Replace license boilerplate with SPDX tags | Tavian Barnes | 2023-01-25 | 1 | -15/+2 |
| | | | | | | | 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/ | ||||
* | bfstd: Rename from util and reorganize it | Tavian Barnes | 2022-11-06 | 1 | -1/+1 |
| | |||||
* | config: Split out some of util.h into a new header | Tavian Barnes | 2022-11-06 | 1 | -1/+2 |
| | |||||
* | util: Use fewer BFS_*() wrappers for feature testing | Tavian Barnes | 2022-11-06 | 1 | -1/+1 |
| | |||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 1 | -0/+303 |
Moved Source Files Into `src` Folder |