bind9/bin/named
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
..
include implement the systemd notification protocol manually, drop libsystemd 2025-06-03 15:04:42 +00:00
.gitignore Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
bind9.xsl Expose the incoming transfers' rates in the statistics channel 2025-02-20 11:05:09 +00:00
builtin.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
config.c fix unitiailized pointer check on getipandkeylist 2025-11-28 15:38:18 +01:00
control.c Implement rndc reset-stats counter-name 2025-03-27 09:36:43 +00:00
controlconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
dlz_dlopen_driver.c Use clang-format-20 to update formatting 2025-06-25 13:32:08 +10:00
fuzz.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
geoip.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
log.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
logconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
main.c Implement '-T slowrpz' named testing option 2025-08-27 10:00:45 +00:00
Makefile.am implement the systemd notification protocol manually, drop libsystemd 2025-06-03 15:04:42 +00:00
named.conf.rst remove {root-}delegation-only 2023-03-23 12:57:01 -07:00
named.rst Finalize removal of memory debug flags size and mctx 2024-12-06 03:13:14 +00:00
os.c implement the systemd notification protocol manually, drop libsystemd 2025-06-03 15:04:42 +00:00
server.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
statschannel.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
tkeyconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
transportconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
tsigconf.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
xsl_p.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
zoneconf.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00