bind9/bin/tools
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
..
.gitignore Remove genrandom command and all usage of specific random files throughout the system test suite 2018-05-16 09:54:35 +02:00
arpaname.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
arpaname.rst Use semantic markup for :program: self-references 2022-03-14 10:46:36 +01:00
dnstap-read.c Emit and read correct DoT and DoH dnstap entries 2024-04-26 16:12:29 +03:00
dnstap-read.rst Add option to dnstap-read to print long timestamps 2023-05-04 15:12:53 +02:00
Makefile.am Remove libbind9 2023-02-21 13:12:26 +00:00
mdig.c standardize CHECK and RETERR macros 2025-12-03 19:17:20 -08:00
mdig.rst fully remove DSCP 2023-01-17 16:18:21 -08:00
named-journalprint.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
named-journalprint.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 10:46:36 +01:00
named-nzd2nzf.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
named-nzd2nzf.rst Hyperlink program names to their manual pages 2022-03-14 10:46:36 +01:00
named-rrchecker.c Extend named-rrchecker multi-line parsing support 2025-06-03 02:27:46 +00:00
named-rrchecker.rst Fix link to TXT RRtype specification 2025-06-02 14:23:05 +00:00
nsec3hash.c Remove redundant parentheses from the return statement 2024-11-19 14:26:52 +01:00
nsec3hash.rst Use semantic markup for :program: self-references 2022-03-14 10:46:36 +01:00