summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* config: Align after saturating in flex_sizeof()Tavian Barnes2023-05-161-2/+9
| | | | | 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-161-0/+187
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* int: Backport C23's endian utilitiesTavian Barnes2023-05-161-0/+68
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-161-0/+100
|
* 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-111-1/+11
|
* config: Properly align flex_sizeof()Tavian Barnes2023-05-111-10/+21
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-1125-26/+13
| | | | 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-103-10/+10
|
* 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
|
* 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-318-398/+401
|
* 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-292-45/+14
|
* bftw: Use list.h for the queue and LRU listsTavian Barnes2023-03-291-218/+93
|
* list: New generic linked list APITavian Barnes2023-03-293-0/+350
|
* 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
|
* dir: Use libc's getdents64() wrapper if possibleTavian Barnes2023-03-271-109/+76
|
* Release 2.6.32.6.3Tavian Barnes2023-01-311-1/+1
|
* mtab: Explicitly initialize parent_retTavian Barnes2023-01-311-1/+1
|
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-2549-736/+98
| | | | | | | 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/
* mtab: Flags are separated with | not ,Tavian Barnes2023-01-251-1/+1
|
* mtab: Keep parent dirs open during fill_types()Tavian Barnes2023-01-253-27/+65
|
* mtab: Always fill in the root fstypeTavian Barnes2023-01-251-1/+1
| | | | Fixes: 869e4010433c8610ba59f9a6a310df8be228d718
* opt: Move probabilities out of the parserTavian Barnes2023-01-242-120/+161
|
* opt: Move costs out of the parserTavian Barnes2023-01-242-51/+57
|
* opt: Move always_{true,false} out of the parserTavian Barnes2023-01-242-50/+61
|
* opt: Move purity out of the parserTavian Barnes2023-01-242-25/+64
|