Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix includes | Tavian Barnes | 2024-08-29 | 1 | -1/+0 |
| | |||||
* | 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/+2 |
| | |||||
* | prelude: Define thread_local | Tavian Barnes | 2024-08-28 | 1 | -1/+0 |
| | |||||
* | tests: Simplify unit tests with a global variable | Tavian Barnes | 2024-07-07 | 1 | -2/+17 |
| | | | | | It's a little awkward to thread the test result through manually; much easier to just make bfs_check() update a global variable. | ||||
* | list: New SLIST_SPLICE() macro | Tavian Barnes | 2024-05-31 | 1 | -0/+1 |
| | |||||
* | diag: New helpers to include xstrerror(errno) automatically | Tavian Barnes | 2024-05-17 | 1 | -5/+0 |
| | |||||
* | sighook: New utilities for hooking signals | Tavian Barnes | 2024-05-16 | 1 | -0/+1 |
| | | | | This allows multiple hooks to be installed for a single signal. | ||||
* | Rename config.h to prelude.h | Tavian Barnes | 2024-04-19 | 1 | -1/+1 |
| | |||||
* | tests: Add ../src to the include path | Tavian Barnes | 2024-04-19 | 1 | -3/+3 |
| | |||||
* | tests/xspawn: New unit test | Tavian Barnes | 2024-03-27 | 1 | -0/+1 |
| | |||||
* | tests: New bfs_pcheck() macro to report xstrerror(errno) | Tavian Barnes | 2024-03-27 | 1 | -0/+6 |
| | |||||
* | Re-run include-what-you-use | Tavian Barnes | 2024-03-11 | 1 | -3/+0 |
| | |||||
* | xtime: Call tzset() from main() instead of lazily | Tavian Barnes | 2024-03-07 | 1 | -0/+14 |
| | | | | | | | | | | | | | POSIX specifies[1] that If a thread accesses tzname, daylight, or timezone directly while another thread is in a call to tzset(), or to any function that is required or allowed to set timezone information as if by calling tzset(), the behavior is undefined. So calling it lazily from arbitrary threads is risky. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html | ||||
* | tests/ioq: New unit test | Tavian Barnes | 2024-02-28 | 1 | -0/+1 |
| | |||||
* | tests: Merge unit test executables into one | Tavian Barnes | 2024-01-12 | 1 | -0/+106 |