]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Preserve brackets around string concatenation
authorMark Andrews <marka@isc.org>
Wed, 18 Jun 2025 02:49:04 +0000 (12:49 +1000)
committerMark Andrews <marka@isc.org>
Wed, 25 Jun 2025 03:26:13 +0000 (13:26 +1000)
We need disable clang-format here to preserve the brackets around
the string concatenation to prevent -Wstring-concatenation -Werror
breaking the build.

(cherry picked from commit eeafcee7ad07ae793602a3640b7f05d3cb26ff9f)

tests/dns/private_test.c

index a7c5a291eb543d115246fba7e0809b2300e40161..f65408bdd06ba21b302f9eebc7a85be215f4435c 100644 (file)
@@ -190,8 +190,10 @@ ISC_RUN_TEST_IMPL(private_nsec3_totext) {
        const char *results[] = { "Creating NSEC3 chain 1 0 1 BEEF",
                                  "Creating NSEC3 chain 1 1 10 DADD",
                                  "Pending NSEC3 chain 1 0 20 BEAD",
+                                 /* clang-format off */
                                  ("Removing NSEC3 chain 1 0 30 DEAF / "
                                   "creating NSEC chain"),
+                                 /* clang-format on */
                                  "Removing NSEC3 chain 1 0 100 FEEDABEE" };
        int ncases = 5;