aboutsummaryrefslogtreecommitdiff
path: root/xsnprintf.c (follow)
Commit message (Collapse)AuthorAgeLines
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-3/+3
|
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-1/+1
| | | | | | Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.
* Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes2021-01-14-0/+36