BIND 10 trac2850_2, updated. 211389e129c7c27129fda481deda0dd649630a98 [2850] Remove unnecessary setup of named addresses

BIND 10 source code commits bind10-changes at lists.isc.org
Mon May 13 10:43:40 UTC 2013


The branch, trac2850_2 has been updated
       via  211389e129c7c27129fda481deda0dd649630a98 (commit)
      from  de6e68cf258f9349795368f5bf773f8911a79acf (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 211389e129c7c27129fda481deda0dd649630a98
Author: Mukund Sivaraman <muks at isc.org>
Date:   Mon May 13 16:12:13 2013 +0530

    [2850] Remove unnecessary setup of named addresses
    
    ... now that we handle this with an offset_ptr inside setNamedAddress()
    itself.

-----------------------------------------------------------------------

Summary of changes:
 .../datasrc/memory/zone_table_segment_mapped.cc    |    9 ---------
 1 file changed, 9 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/memory/zone_table_segment_mapped.cc b/src/lib/datasrc/memory/zone_table_segment_mapped.cc
index f199e3d..45bd880 100644
--- a/src/lib/datasrc/memory/zone_table_segment_mapped.cc
+++ b/src/lib/datasrc/memory/zone_table_segment_mapped.cc
@@ -81,11 +81,6 @@ ZoneTableSegmentMapped::processChecksum(MemorySegmentMapped& segment,
         }
     } else {
         // Allocate space for a checksum (which is saved during close).
-
-        // First allocate a ZONE_TABLE_CHECKSUM_NAME, so that we can set
-        // it without growing the segment (and changing the checksum's
-        // address).
-        segment.setNamedAddress(ZONE_TABLE_CHECKSUM_NAME, NULL);
         void* checksum = NULL;
         while (!checksum) {
             try {
@@ -120,10 +115,6 @@ ZoneTableSegmentMapped::processHeader(MemorySegmentMapped& segment,
             assert(result.second);
         }
     } else {
-        // First allocate a ZONE_TABLE_HEADER_NAME, so that we can set
-        // it without growing the segment (and changing the header's
-        // address).
-        segment.setNamedAddress(ZONE_TABLE_HEADER_NAME, NULL);
         void* ptr = NULL;
         while (!ptr) {
             try {



More information about the bind10-changes mailing list