]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice / whitespace
authorTinderbox User <tbox@isc.org>
Tue, 25 Aug 2015 23:46:19 +0000 (23:46 +0000)
committerTinderbox User <tbox@isc.org>
Tue, 25 Aug 2015 23:46:19 +0000 (23:46 +0000)
bin/tests/system/checkzone/zones/bad-dns-sd-reverse.db
bin/tests/system/checkzone/zones/good-dns-sd-reverse.db
bin/tests/system/rrsetorder/ns4/named.conf
lib/dns/order.c

index 3e69f23cde8a5f3434a902f1f55f120df21f4e4f..5f342119bb11b45d5e6db3c30663a2fc5a069173 100644 (file)
@@ -1,3 +1,17 @@
+; Copyright (C) 2015  Internet Systems Consortium, Inc. ("ISC")
+;
+; Permission to use, copy, modify, and/or distribute this software for any
+; purpose with or without fee is hereby granted, provided that the above
+; copyright notice and this permission notice appear in all copies.
+;
+; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+; AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+; PERFORMANCE OF THIS SOFTWARE.
+
 $TTL   60
 @      IN      SOA     . . 0 0 0 0 0
 @      IN      NS      .
index 5b9963d681ee4043c3a5ce2641080b1659e55f60..0f017caaa80382a5c04b3173007bdbae2c7bad57 100644 (file)
@@ -1,3 +1,17 @@
+; Copyright (C) 2015  Internet Systems Consortium, Inc. ("ISC")
+;
+; Permission to use, copy, modify, and/or distribute this software for any
+; purpose with or without fee is hereby granted, provided that the above
+; copyright notice and this permission notice appear in all copies.
+;
+; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+; AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+; PERFORMANCE OF THIS SOFTWARE.
+
 $TTL   60
 @      IN      SOA     . . 0 0 0 0 0
 @      IN      NS      .
index 0ee32968633149ba1cd6b7fc57a338a28889a8a7..e7524e999d8032b5cb8e62b2d3e940da94f9c89c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2015  Internet Systems Consortium, Inc. ("ISC")
  *
  * Permission to use, copy, modify, and/or distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above
index c91d561e9ac86cc934e4a2d526bd0ed9f4ab40ad..326b8f93cf14185b6d1d6fd782c1177100cb024a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2015  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -48,7 +48,7 @@ struct dns_order {
        ISC_LIST(dns_order_ent_t)       ents;
        isc_mem_t                       *mctx;
 };
-       
+
 #define DNS_ORDER_MAGIC ISC_MAGIC('O','r','d','r')
 #define DNS_ORDER_VALID(order) ISC_MAGIC_VALID(order, DNS_ORDER_MAGIC)
 
@@ -62,7 +62,7 @@ dns_order_create(isc_mem_t *mctx, dns_order_t **orderp) {
        order = isc_mem_get(mctx, sizeof(*order));
        if (order == NULL)
                return (ISC_R_NOMEMORY);
-       
+
        ISC_LIST_INIT(order->ents);
 
        /* Implicit attach. */
@@ -88,7 +88,7 @@ dns_order_add(dns_order_t *order, dns_name_t *name,
 
        REQUIRE(DNS_ORDER_VALID(order));
        REQUIRE(mode == DNS_RDATASETATTR_RANDOMIZE ||
-               mode == DNS_RDATASETATTR_FIXEDORDER ||
+               mode == DNS_RDATASETATTR_FIXEDORDER ||
                mode == 0 /* DNS_RDATASETATTR_CYCLIC */ );
 
        ent = isc_mem_get(order->mctx, sizeof(*ent));
@@ -108,7 +108,7 @@ dns_order_add(dns_order_t *order, dns_name_t *name,
 
 static inline isc_boolean_t
 match(dns_name_t *name1, dns_name_t *name2) {
-       
+
        if (dns_name_iswildcard(name2))
                return(dns_name_matcheswildcard(name1, name2));
        return (dns_name_equal(name1, name2));