]> git.ipfire.org Git - thirdparty/bind9.git/commit
Preserve brackets in DNS_SLABHEADER_GETATTR macro
authorMark Andrews <marka@isc.org>
Wed, 25 Jun 2025 03:58:31 +0000 (13:58 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Jun 2025 03:59:44 +0000 (13:59 +1000)
commit523940c48e2c0fc6560f58bfd6f308f81ba74597
tree7f23fae63f6b2d18bc27811d48bc665964857c4d
parenta851e3a373bc8ff4a9f4f128d1359c6c14ab0473
Preserve brackets in DNS_SLABHEADER_GETATTR macro

We need to turn off clang-format to preserve the brackets as
'attribute' can be an expression and we need it to be evaluated
first.

Similarly we need the entire result to be evaluated independent of
the adjoining code.

(cherry picked from commit 3620db5ea6f163199cf5a3ad09c32d02b374f748)
lib/dns/rbtdb.c