BIND 10 master, updated. 432064bc3ec7c67797898a182c52add8f6012232 [master] add std:: for memset(). sunstudio requires this with <cstring>
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 8 16:46:53 UTC 2012
The branch, master has been updated
via 432064bc3ec7c67797898a182c52add8f6012232 (commit)
from 1ab996e4c54f1449b8e72cce411331193868e78c (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 432064bc3ec7c67797898a182c52add8f6012232
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Oct 8 16:41:33 2012 +0000
[master] add std:: for memset(). sunstudio requires this with <cstring>
-----------------------------------------------------------------------
Summary of changes:
src/lib/util/io/fd_share.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/util/io/fd_share.cc b/src/lib/util/io/fd_share.cc
index 04a3e54..8666441 100644
--- a/src/lib/util/io/fd_share.cc
+++ b/src/lib/util/io/fd_share.cc
@@ -142,7 +142,7 @@ send_fd(const int sock, const int fd) {
if (msghdr.msg_control == NULL) {
return (FD_OTHER_ERROR);
}
- memset(msghdr.msg_control, 0, msghdr.msg_controllen);
+ std::memset(msghdr.msg_control, 0, msghdr.msg_controllen);
struct cmsghdr* cmsg = CMSG_FIRSTHDR(&msghdr);
cmsg->cmsg_len = cmsg_len(sizeof(int));
More information about the bind10-changes
mailing list