bind9/bin
Evan Hunt 25c9fb54da standardize CHECK and RETERR macros
previously, there were over 40 separate definitions of CHECK macros, of
which most used "goto cleanup", and the rest "goto failure" or "goto
out". there were another 10 definitions of RETERR, of which most were
identical to CHECK, but some simply returned a result code instead of
jumping to a cleanup label.

this has now been standardized throughout the code base: RETERR is for
returning an error code in the case of an error, and CHECK is for jumping
to a cleanup tag, which is now always called "cleanup". both macros are
defined in isc/util.h.

(cherry picked from commit 52bba5cc34)
2025-12-03 19:17:20 -08:00
..
check standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
confgen Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
delv standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
dig avoid retrying a server if its address is unusable 2025-11-04 19:05:52 +00:00
dnssec standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
named standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
nsupdate Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
plugins standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
rndc document config option dependency for showzone 2025-10-23 20:10:49 +00:00
tests standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
tools standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00