BIND 10 trac2850_2, updated. 299f1f5ff94bb77306019c1d26d12e57a30a9ab4 [2850] Include <cerrno> for errno
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 8 12:07:02 UTC 2013
The branch, trac2850_2 has been updated
via 299f1f5ff94bb77306019c1d26d12e57a30a9ab4 (commit)
via ad0e3e26471403d9b019352132cbc04b2c1c055c (commit)
from 2015f7356237f5004c6aa9b678b442575476681b (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 299f1f5ff94bb77306019c1d26d12e57a30a9ab4
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed May 8 17:36:45 2013 +0530
[2850] Include <cerrno> for errno
commit ad0e3e26471403d9b019352132cbc04b2c1c055c
Author: Mukund Sivaraman <muks at isc.org>
Date: Wed May 8 17:35:50 2013 +0530
[2850] Simplify the corruption of checksum
-----------------------------------------------------------------------
Summary of changes:
.../memory/zone_table_segment_mapped_unittest.cc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/tests/memory/zone_table_segment_mapped_unittest.cc b/src/lib/datasrc/tests/memory/zone_table_segment_mapped_unittest.cc
index 9a63eae..c83fc7b 100644
--- a/src/lib/datasrc/tests/memory/zone_table_segment_mapped_unittest.cc
+++ b/src/lib/datasrc/tests/memory/zone_table_segment_mapped_unittest.cc
@@ -22,6 +22,8 @@
#include <boost/scoped_ptr.hpp>
#include <boost/interprocess/file_mapping.hpp>
+#include <cerrno>
+
#include <sys/stat.h>
using namespace isc::dns;
@@ -108,7 +110,7 @@ corruptChecksum(MemorySegment& segment) {
ASSERT_TRUE(result.first);
size_t checksum = *static_cast<size_t*>(result.second);
- checksum ^= 0x55555555;
+ ++checksum;
*static_cast<size_t*>(result.second) = checksum;
}
More information about the bind10-changes
mailing list