summaryrefslogtreecommitdiffstats
path: root/bind95-rh454783.patch
diff options
context:
space:
mode:
authorAdam Tkac <atkac@fedoraproject.org>2008-09-24 09:00:04 +0000
committerAdam Tkac <atkac@fedoraproject.org>2008-09-24 09:00:04 +0000
commita99cd96ce07e50c2c2adba45e27cd20a34d52c72 (patch)
treecfa4e23d154eed99736a950a082bf4a47e4a32bf /bind95-rh454783.patch
parent77020b9c5b57e0eb8089509e44e189e25e1192f0 (diff)
- 9.5.1b2 releasebind-9_5_1-0_7_b2_fc10
- patches merged - bind95-rh454783.patch - bind-9.5-edns.patch - bind95-rh450995.patch - bind95-rh457175.patch
Diffstat (limited to 'bind95-rh454783.patch')
-rw-r--r--bind95-rh454783.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/bind95-rh454783.patch b/bind95-rh454783.patch
deleted file mode 100644
index f2f332a..0000000
--- a/bind95-rh454783.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-diff -up bind-9.5.0-P1/bin/named/xfrout.c.rh454783 bind-9.5.0-P1/bin/named-sdb/xfrout.c
---- bind-9.5.0-P1/bin/named/xfrout.c.rh454783 2008-08-05 12:50:44.000000000 +0200
-+++ bind-9.5.0-P1/bin/named/xfrout.c 2008-08-05 12:57:54.000000000 +0200
-@@ -829,7 +829,9 @@ typedef struct {
- dns_name_t *qname; /* Question name of request */
- dns_rdatatype_t qtype; /* dns_rdatatype_{a,i}xfr */
- dns_rdataclass_t qclass;
-+#ifndef DLZ
- dns_zone_t *zone; /* (necessary for stats) */
-+#endif
- dns_db_t *db;
- dns_dbversion_t *ver;
- isc_quota_t *quota;
-@@ -1330,10 +1332,14 @@ xfrout_ctx_create(isc_mem_t *mctx, ns_cl
- xfr->qname = qname;
- xfr->qtype = qtype;
- xfr->qclass = qclass;
-+#ifndef DLZ
- xfr->zone = NULL;
-+#endif
- xfr->db = NULL;
- xfr->ver = NULL;
-+#ifndef DLZ
- dns_zone_attach(zone, &xfr->zone);
-+#endif
- dns_db_attach(db, &xfr->db);
- dns_db_attachversion(db, ver, &xfr->ver);
- xfr->end_of_stream = ISC_FALSE;
-@@ -1709,8 +1715,10 @@ xfrout_ctx_destroy(xfrout_ctx_t **xfrp)
- isc_quota_detach(&xfr->quota);
- if (xfr->ver != NULL)
- dns_db_closeversion(xfr->db, &xfr->ver, ISC_FALSE);
-+#ifndef DLZ
- if (xfr->zone != NULL)
- dns_zone_detach(&xfr->zone);
-+#endif
- if (xfr->db != NULL)
- dns_db_detach(&xfr->db);
-
-@@ -1744,7 +1752,10 @@ xfrout_senddone(isc_task_t *task, isc_ev
- sendstream(xfr);
- } else {
- /* End of zone transfer stream. */
-+#ifndef DLZ
-+ /* XXX DLZ zones doesn't support stats */
- inc_stats(xfr->zone, dns_nsstatscounter_xfrdone);
-+#endif
- xfrout_log(xfr, ISC_LOG_INFO, "%s ended", xfr->mnemonic);
- ns_client_next(xfr->client, ISC_R_SUCCESS);
- xfrout_ctx_destroy(&xfr);