aboutsummaryrefslogtreecommitdiff
path: root/debug.c (unfollow)
Commit message (Collapse)AuthorLines
2021-02-09debug: make use of log_msg() in fatal_error() and bug() functionsCraig Barnes-9/+8
Instead of writing directly to stderr and/or syslog(3).
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-0/+48
Note: this uses the __sanitizer_print_stack_trace() function from the AddressSanitizer runtime, so it only works when AddressSanitizer is in use.
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-47/+0
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.