summaryrefslogtreecommitdiffstats
path: root/bind98-libdns-export.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-07-05 21:00:37 +0200
committerAdam Tkac <atkac@redhat.com>2011-07-05 21:00:37 +0200
commit796ae3f1999e9b79d333fa79724f30fa86907bf0 (patch)
tree570a63b1a0fba418d99e4cdda4a6ee68fda02543 /bind98-libdns-export.patch
parent95c9b3fdb6efd1c52eb74ee14799991dd6cb58e0 (diff)
downloadbind-796ae3f1999e9b79d333fa79724f30fa86907bf0.tar.gz
bind-796ae3f1999e9b79d333fa79724f30fa86907bf0.tar.xz
bind-796ae3f1999e9b79d333fa79724f30fa86907bf0.zip
Update to 9.8.0-P4
- bind98-libdns-export.patch merged Signed-off-by: Adam Tkac <atkac@redhat.com>
Diffstat (limited to 'bind98-libdns-export.patch')
-rw-r--r--bind98-libdns-export.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/bind98-libdns-export.patch b/bind98-libdns-export.patch
deleted file mode 100644
index 3e7ee6c..0000000
--- a/bind98-libdns-export.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-diff -up bind-9.8.0-P2/lib/dns/masterdump.c.libdns-export bind-9.8.0-P2/lib/dns/masterdump.c
---- bind-9.8.0-P2/lib/dns/masterdump.c.libdns-export 2011-05-27 10:48:10.216765461 +0200
-+++ bind-9.8.0-P2/lib/dns/masterdump.c 2011-05-27 10:48:50.428765471 +0200
-@@ -700,6 +700,26 @@ dns_master_questiontotext(dns_name_t *ow
- ISC_FALSE, target));
- }
-
-+static const char *trustnames[] = {
-+ "none",
-+ "pending-additional",
-+ "pending-answer",
-+ "additional",
-+ "glue",
-+ "answer",
-+ "authauthority",
-+ "authanswer",
-+ "secure",
-+ "local" /* aka ultimate */
-+};
-+
-+const char *
-+dns_trust_totext(dns_trust_t trust) {
-+ if (trust >= sizeof(trustnames)/sizeof(*trustnames))
-+ return ("bad");
-+ return (trustnames[trust]);
-+}
-+
- #ifdef BIND9
- /*
- * Print an rdataset. 'buffer' is a scratch buffer, which must have been
-@@ -835,26 +855,6 @@ dump_order_compare(const void *a, const
-
- #define MAXSORT 64
-
--static const char *trustnames[] = {
-- "none",
-- "pending-additional",
-- "pending-answer",
-- "additional",
-- "glue",
-- "answer",
-- "authauthority",
-- "authanswer",
-- "secure",
-- "local" /* aka ultimate */
--};
--
--const char *
--dns_trust_totext(dns_trust_t trust) {
-- if (trust >= sizeof(trustnames)/sizeof(*trustnames))
-- return ("bad");
-- return (trustnames[trust]);
--}
--
- static isc_result_t
- dump_rdatasets_text(isc_mem_t *mctx, dns_name_t *name,
- dns_rdatasetiter_t *rdsiter, dns_totext_ctx_t *ctx,