BIND 10 trac3079, updated. 72077a1d5b36a470ee5c16599171a2d7cac11ac3 [3079] Don't compile code requiring shared memory
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Aug 13 14:20:10 UTC 2013
The branch, trac3079 has been updated
via 72077a1d5b36a470ee5c16599171a2d7cac11ac3 (commit)
from 278c59a0b5db80c61ed08550da6d065af8aead90 (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 72077a1d5b36a470ee5c16599171a2d7cac11ac3
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date: Tue Aug 13 16:13:33 2013 +0200
[3079] Don't compile code requiring shared memory
In case it is turned off, don't link against stuff requiring shared
memory, in particular mapped segment creator in tests. It is not used,
but causes link errors, as it is in a virtual method.
-----------------------------------------------------------------------
Summary of changes:
.../tests/memory/zone_data_updater_unittest.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
index f3e814a..d4918fa 100644
--- a/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_data_updater_unittest.cc
@@ -143,6 +143,7 @@ INSTANTIATE_TEST_CASE_P(LocalSegment, ZoneDataUpdaterTest,
::testing::Values(static_cast<SegmentCreator*>(
&memory_segment_creator)));
+#ifdef USE_SHARED_MEMORY
class MappedSegmentCreator : public SegmentCreator {
public:
MappedSegmentCreator(size_t initial_size =
@@ -162,7 +163,6 @@ private:
const size_t initial_size_;
};
-#ifdef USE_SHARED_MEMORY
// There should be no initialization fiasco there. We only set int value inside
// and don't use it until the create() is called.
MappedSegmentCreator small_creator(4092), default_creator;
More information about the bind10-changes
mailing list