summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* diag: New bfs_abort() and bfs_bug() macrosTavian Barnes2023-05-182-1/+33
|
* config: Include <stdnoreturn.h>Tavian Barnes2023-05-181-0/+1
|
* bar: Use USHRT_WIDTHTavian Barnes2023-05-181-2/+2
|
* trie: Use SIZE_WIDTHTavian Barnes2023-05-181-6/+6
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-184-6/+6
|
* Use SYS_* instead of __NR_*Tavian Barnes2023-05-162-3/+3
|
* ci: Fix 32-bit Linux dependenciesTavian Barnes2023-05-161-0/+1
|
* build: Fix test utility compilationTavian Barnes2023-05-161-2/+4
|
* config: Align after saturating in flex_sizeof()Tavian Barnes2023-05-162-3/+11
| | | | | This ensures that it's legal to call aligned_alloc() with the result, which requires a multiple of the alignment.
* trie: Use standard bit utilitiesTavian Barnes2023-05-161-44/+15
|
* int: Backport C23's bit utilitiesTavian Barnes2023-05-162-0/+244
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* int: Backport C23's endian utilitiesTavian Barnes2023-05-162-0/+78
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-163-1/+155
|
* build: Make the tests a little less repetitiveTavian Barnes2023-05-161-18/+16
|
* trie: Use bfs_static_assert()Tavian Barnes2023-05-161-1/+2
|
* diag: New bfs_static_assert() macroTavian Barnes2023-05-161-1/+11
|
* config: Saturate on overflow in flex_sizeof()Tavian Barnes2023-05-112-1/+12
|
* config: Properly align flex_sizeof()Tavian Barnes2023-05-112-10/+34
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-1127-28/+15
| | | | In anticipation of C23, since those headers won't be necessary any more.
* config: s/BFS_FALLTHROUGH/fallthru/Tavian Barnes2023-05-105-16/+16
|
* config: s/BFS_UNINIT/uninit/Tavian Barnes2023-05-102-6/+6
|
* config: s/BFS_FLEX_SIZEOF/flex_sizeof/Tavian Barnes2023-05-104-6/+6
|
* config: s/BFS_COUNTOF/countof/Tavian Barnes2023-05-104-11/+11
|
* config: Group attribute wrappers togetherTavian Barnes2023-05-101-21/+23
|
* config: Hoist the assignment outside of BFS_UNINIT()Tavian Barnes2023-05-082-6/+6
|
* bftw: Use separate dir/file queuesTavian Barnes2023-05-051-218/+176
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-0314-143/+143
|
* Let musl builds use getdents64()Tavian Barnes2023-05-031-1/+2
| | | | | | Glibc exposes a different struct dirent and dirent64, while on musl they are the same. But musl needs _LARGEFILE64_SOURCE to expose the *64() aliases.
* build: Fix tsanTavian Barnes2023-04-122-38/+45
|
* list: New SLIST_INSERT() macroTavian Barnes2023-04-121-30/+41
|
* list: s/link/node/Tavian Barnes2023-04-121-40/+40
|
* bftw: Merge bftw_closedir() into bftw_gc()Tavian Barnes2023-04-121-59/+47
|
* bfstd: Fix declaration order to match the right standard headersTavian Barnes2023-04-072-116/+116
|
* dir: Allow overriding BFS_GETDENTSTavian Barnes2023-04-071-18/+23
|
* list: Fix SLIST_REMOVE() on the tailTavian Barnes2023-04-011-8/+8
|
* list: Fix a typo in SLIST_REMOVE()Tavian Barnes2023-04-011-1/+1
|
* list: Implement SLIST_REMOVE()Tavian Barnes2023-04-011-7/+23
|
* list: Simplify some macrosTavian Barnes2023-04-011-12/+12
|
* list: Use macros instead of type-erased listsTavian Barnes2023-03-3110-399/+403
|
* list: New helper macros for converting entries to itemsTavian Barnes2023-03-292-16/+65
|
* xspawn: Use list.h for the action listTavian Barnes2023-03-292-21/+19
|
* trie: Use list.h for the list of leavesTavian Barnes2023-03-293-47/+14
|
* bftw: Use list.h for the queue and LRU listsTavian Barnes2023-03-291-218/+93
|
* list: New generic linked list APITavian Barnes2023-03-294-0/+351
|
* bftw: Refactor bftw_queueTavian Barnes2023-03-281-88/+55
|
* 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
|