]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Exclude lib/dns/include/dns/db.h from unsigned-int.spatch
authorMark Andrews <marka@isc.org>
Wed, 8 Oct 2025 01:35:08 +0000 (12:35 +1100)
committerEvan Hunt <each@isc.org>
Wed, 8 Oct 2025 05:34:40 +0000 (22:34 -0700)
Disable unsigned-int spatch in db.h to silence the following error
from coccinelle v1.1:

    EXN: Failure("./lib/dns/include/dns/db.h: 188: try to delete an expanded token: unsigned") in ./lib/dns/include/dns/db.h

cocci/unsigned-int.spatch

index 81ee019387a45a5b191e0824f0e24f92bfbeb622..84eb84e7588b7c204819ba34c78c4315d5630733 100644 (file)
@@ -1,4 +1,4 @@
-@depends on !(file in "util/models.c") && !(file in "lib/dns/sdlz.c")@
+@depends on !(file in "util/models.c") && !(file in "lib/dns/sdlz.c") && !(file in "lib/dns/include/dns/db.h")@
 iterator name DNS_DBITERATOR_FOREACH, DNS_RDATASET_FOREACH, DNS_RDATASETITER_FOREACH;
 @@