commit e80595f562e199049a41fdf1f3e12baced7e74d5 Author: Nick Mathewson nickm@torproject.org Date: Fri Nov 9 11:00:31 2018 -0500
fixup! Make initialization for the "err" library into a subsystem.
Check for failure to install backtrace handler. --- src/lib/err/torerr_sys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/lib/err/torerr_sys.c b/src/lib/err/torerr_sys.c index 54666f410..2f9e33e23 100644 --- a/src/lib/err/torerr_sys.c +++ b/src/lib/err/torerr_sys.c @@ -18,7 +18,8 @@ static int torerr_subsys_init(void) { - configure_backtrace_handler(get_version()); + if (configure_backtrace_handler(get_version()) < 0) + return -1; tor_log_reset_sigsafe_err_fds();
return 0;
tor-commits@lists.torproject.org