BIND 10 master, updated. 65eb1db45415266f4c3c435b799f066eaf96998b [master] Add std:: to memcmp

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 15 13:08:48 UTC 2013


The branch, master has been updated
       via  65eb1db45415266f4c3c435b799f066eaf96998b (commit)
      from  13674dda1cf3f4f16964c7d5fc72559e3d90b8c2 (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 65eb1db45415266f4c3c435b799f066eaf96998b
Author: Jelte Jansen <jelte at isc.org>
Date:   Tue Jan 15 13:07:46 2013 +0000

    [master] Add std:: to memcmp

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

Summary of changes:
 src/lib/dns/rdata/generic/detail/char_string.cc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/rdata/generic/detail/char_string.cc b/src/lib/dns/rdata/generic/detail/char_string.cc
index f04877c..4c8965a 100644
--- a/src/lib/dns/rdata/generic/detail/char_string.cc
+++ b/src/lib/dns/rdata/generic/detail/char_string.cc
@@ -130,7 +130,7 @@ int compareCharStrings(const detail::CharString& self,
     const size_t self_len = self[0];
     const size_t other_len = other[0];
     const size_t cmp_len = std::min(self_len, other_len);
-    const int cmp = memcmp(&self[1], &other[1], cmp_len);
+    const int cmp = std::memcmp(&self[1], &other[1], cmp_len);
     if (cmp < 0) {
         return (-1);
     } else if (cmp > 0) {



More information about the bind10-changes mailing list