]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] chg: dev: Use _exit() in the fatal() function
authorOndřej Surý <ondrej@isc.org>
Tue, 6 Aug 2024 14:11:15 +0000 (14:11 +0000)
committerOndřej Surý <ondrej@isc.org>
Tue, 6 Aug 2024 14:11:15 +0000 (14:11 +0000)
commite4c483f45f68faa926c59edb4bd08dde71660e2c
tree94d62388d1824d0d18dc64fab29b2262e1fb34e9
parentc948babeebae1dd2a730f4cad15b3effa1272d67
parent236de53c52e8d6b84eefd0d6f039f249ab858500
[9.18] chg: dev: Use _exit() in the fatal() function

Since the fatal() isn't a correct but rather abrupt termination of the
program, we want to skip the various atexit() calls because not all
memory might be freed during fatal() call, etc.  Using _exit() instead
of exit() has this effect - the program will end, but no destructors or
atexit routines will be called.

Backport of MR !8703

Merge branch 'backport-ondrej/use-_exit-in-fatal-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!9263