summaryrefslogtreecommitdiffstats
path: root/src/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* dir: Fix FreeBSD union mountsTavian Barnes2023-10-171-8/+46
|
* dir: Add a flags parameter to bfs_opendir()Tavian Barnes2023-10-171-11/+20
|
* dir: Fix Android buildTavian Barnes2023-10-141-1/+1
| | | | Android doesn't provide a getdents() wrapper, so use the syscall.
* bftw: Try to close files asynchronouslyTavian Barnes2023-07-101-17/+3
|
* Unify macro naming conventionsTavian Barnes2023-06-241-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 directoriesTavian Barnes2023-06-201-21/+23
|
* dir: New bfs_polldir() function for directory readaheadTavian Barnes2023-06-131-22/+66
|
* dir: Add a flag to bfs_freedir() to force the fd to stay the sameTavian Barnes2023-06-121-5/+13
|
* sanity: Add wrappers for sanitizer interfacesTavian Barnes2023-05-251-9/+3
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-181-2/+2
|
* Use SYS_* instead of __NR_*Tavian Barnes2023-05-161-1/+1
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-2/+0
| | | | In anticipation of C23, since those headers won't be necessary any more.
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-031-10/+10
|
* dir: Allow overriding BFS_GETDENTSTavian Barnes2023-04-071-18/+23
|
* dir: s/d_fileno/d_ino/Tavian Barnes2023-03-271-1/+1
|
* dir: Explicitly align struct bfs_dir for the trailing dirent bufferTavian Barnes2023-03-271-1/+3
|
* dir: Use getdents() on FreeBSD tooTavian Barnes2023-03-271-30/+39
|
* dir: Use libc's getdents64() wrapper if possibleTavian Barnes2023-03-271-109/+76
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-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 itTavian Barnes2022-11-061-1/+1
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-1/+2
|
* util: Use fewer BFS_*() wrappers for feature testingTavian Barnes2022-11-061-1/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+303
Moved Source Files Into `src` Folder