Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | alloc: Don't require the old size in varena_realloc() | Tavian Barnes | 2024-11-02 | 1 | -1/+1 |
| | | | | Instead, just look up which arena contains the pointer. | ||||
* | Fix some -Wundef-prefix warnings | Tavian Barnes | 2024-10-10 | 1 | -6/+8 |
| | |||||
* | 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 |
| | |||||
* | prelude: Simplify attributes | Tavian Barnes | 2024-07-28 | 1 | -1/+1 |
| | |||||
* | build: Check for 1- and 2-argument getmntent() variants | Tavian Barnes | 2024-05-07 | 1 | -2/+2 |
| | |||||
* | build: Add a check for getmntinfo() | Tavian Barnes | 2024-05-07 | 1 | -2/+1 |
| | |||||
* | mtab: Fix getmntinfo() error check | Tavian Barnes | 2024-05-07 | 1 | -1/+1 |
| | | | | The man pages all say "if an error occurs, zero is returned" | ||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | mtab: Arena-allocate struct bfs_mount | Tavian Barnes | 2024-04-17 | 1 | -15/+28 |
| | |||||
* | mtab: Take the basename directly in bfs_might_be_mount() | Tavian Barnes | 2024-02-05 | 1 | -2/+1 |
| | | | | This avoids some hot xbaseoff() calls. | ||||
* | config: New variadic attr(...) macro | Tavian Barnes | 2023-12-18 | 1 | -1/+1 |
| | |||||
* | mtab: Switch from darray to RESERVE() | Tavian Barnes | 2023-11-23 | 1 | -23/+23 |
| | |||||
* | config: New attr_maybe_unused macro | Tavian Barnes | 2023-11-15 | 1 | -1/+2 |
| | |||||
* | 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. | ||||
* | alloc: New header for memory allocation utilities | Tavian Barnes | 2023-06-20 | 1 | -3/+2 |
| | |||||
* | config: Provide <stdalign.h> and <stdbool.h> | Tavian Barnes | 2023-05-11 | 1 | -1/+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 |
| | |||||
* | mtab: Explicitly initialize parent_ret | Tavian Barnes | 2023-01-31 | 1 | -1/+1 |
| | |||||
* | 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/ | ||||
* | mtab: Flags are separated with | not , | Tavian Barnes | 2023-01-25 | 1 | -1/+1 |
| | |||||
* | mtab: Keep parent dirs open during fill_types() | Tavian Barnes | 2023-01-25 | 1 | -27/+56 |
| | |||||
* | mtab: Always fill in the root fstype | Tavian Barnes | 2023-01-25 | 1 | -1/+1 |
| | | | | Fixes: 869e4010433c8610ba59f9a6a310df8be228d718 | ||||
* | mtab: Mitigate the race between bfs_mtab_parse() and bfs_mtab_fill_types() | Tavian Barnes | 2023-01-22 | 1 | -2/+35 |
| | | | | Fixes #97. | ||||
* | bfstd: New wrappers for dirname()/basename() | Tavian Barnes | 2023-01-19 | 1 | -2/+3 |
| | |||||
* | 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 | -4/+1 |
| | |||||
* | util: Get rid of BFS_HAS_INCLUDE() wrapper for __has_include() | Tavian Barnes | 2022-11-06 | 1 | -2/+2 |
| | | | | | | | | | 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. | ||||
* | Source / Include Folder (#88) | トトも | 2022-04-16 | 1 | -0/+246 |
Moved Source Files Into `src` Folder |