BIND 10 trac2272, updated. 3d13f1625ffb635f629944e8a1c0e793804d0112 [2272] Added changes based on the code review.
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Sep 21 17:02:35 UTC 2012
The branch, trac2272 has been updated
via 3d13f1625ffb635f629944e8a1c0e793804d0112 (commit)
from 3148cf2b018b222e263894b80cd7e92b20c86ceb (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 3d13f1625ffb635f629944e8a1c0e793804d0112
Author: Marcin Siodelski <marcin at isc.org>
Date: Fri Sep 21 18:22:45 2012 +0200
[2272] Added changes based on the code review.
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 2 +-
.../tools/perfdhcp/tests/command_options_helper.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
-----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index 0e5e3d7..6c83bac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1085,7 +1085,7 @@ fi
AC_MSG_CHECKING([whether optreset variable is defined in unistd.h])
AC_TRY_LINK(
[#include <unistd.h>],
- [extern int optreset; optreset=1],
+ [extern int optreset; optreset=1;],
[ AC_MSG_RESULT(yes)
var_optreset_exists=yes],
[ AC_MSG_RESULT(no)
diff --git a/tests/tools/perfdhcp/tests/command_options_helper.h b/tests/tools/perfdhcp/tests/command_options_helper.h
index d1d1fb4..b0249c8 100644
--- a/tests/tools/perfdhcp/tests/command_options_helper.h
+++ b/tests/tools/perfdhcp/tests/command_options_helper.h
@@ -115,7 +115,7 @@ private:
if (tokens.size() > 0) {
// Allocate array of C-strings where we will store tokens
- results = new (std::nothrow) char*[tokens.size() * sizeof(char*)];
+ results = new (std::nothrow) char*[tokens.size()];
assert(results != NULL);
// Store tokens in C-strings array
for (int i = 0; i < tokens.size(); ++i) {
More information about the bind10-changes
mailing list