aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.c (follow)
Commit message (Collapse)AuthorAgeLines
* xmalloc: export xvasprintf()Daniel Eklöf2021-05-07-1/+1
|
* debug: make use of log_msg() in fatal_error() and bug() functionsCraig Barnes2021-02-09-2/+2
| | | | Instead of writing directly to stderr and/or syslog(3).
* debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes2021-01-16-1/+1
|
* Print stack trace on assert() failure or when calling fatal_error()Craig Barnes2021-01-16-11/+1
| | | | | | Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.
* xmalloc: add xwcsdup()Daniel Eklöf2020-10-09-0/+7
|
* xmalloc: fix edge case handling in xcalloc() functionCraig Barnes2020-08-25-4/+3
|
* xmalloc: add xrealloc() and xstrndup() functionsCraig Barnes2020-08-07-0/+13
|
* xmalloc: log error to syslog() in fatal_error() functionCraig Barnes2020-08-05-0/+3
|
* config: handle allocation failure explicitlyCraig Barnes2020-08-04-0/+78