diff --git a/CHANGES b/CHANGES index 38f2a08a49..9b55accc73 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +5735. [cleanup] The result codes which BIND 9 uses internally are now + all defined as a single list of enum values rather than + as multiple sets of integers scattered around shared + libraries. This prevents the need for locking in some + functions operating on result codes, and makes result + codes more debugger-friendly. [GL #719] + 5734. [bug] Fix "dig" aborting with error in some cases like when doing zone transfers. [GL #2884] diff --git a/doc/dev/dev.md b/doc/dev/dev.md index 9a765090c2..c68f445ede 100644 --- a/doc/dev/dev.md +++ b/doc/dev/dev.md @@ -392,12 +392,11 @@ A result code can be converted to a human-readable error message by calling `isc_result_totext(result)`. Many result codes have been defined and can be found in the source tree -in header files called `result.h` (for example, the result codes defined -for the ISC library are in `lib/isc/include/isc/result.h`. +in `lib/isc/include/isc/result.h`. ISC library result codes (many of which are generically useful elsewhere) begin with `ISC_R`: examples include `ISC_R_SUCCESS`, `ISC_R_FAILURE`, -`ISC_R_NOMEMORY`, etc. +`ISC_R_NOMEMORY`, etc. DNS library result codes begin with `DNS_R`: `DNS_R_SERVFAIL`, `DNS_R_NXRRSET`, etc). Other sets of result codes are defined for crypto functions (`DST_R`