bind9/bin/check
Evan Hunt 9e879600c1 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 25c9fb54da)
(cherry picked from commit 52bba5cc34)
2025-12-03 19:18:12 -08:00
..
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
check-tool.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
check-tool.h Update the copyright information in all files in the repository 2022-01-11 09:05:02 +01:00
Makefile.am Move the include Makefile.tests to the bottom of Makefile.am(s) 2021-06-24 15:33:52 +02:00
named-checkconf.c standardize CHECK and RETERR macros 2025-12-03 19:18:12 -08:00
named-checkconf.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +01:00
named-checkzone.c Remove redundant parentheses from the return statement 2024-11-19 16:06:16 +01:00
named-checkzone.rst Add internal hyperlinks to See Also section of manual pages 2022-03-14 11:01:32 +01:00
named-compilezone.rst Fix the reference to RFC 1035 in named-compilezone(1) 2023-02-13 16:33:38 +00:00