BIND 10 trac915, updated. 23d63caf0cc09f19a01794458bf2457a67caac05 [trac915] added Python.h at the head of included files as required in the python API (failing this will cause build errors on some systems)
BIND 10 source code commits
bind10-changes at lists.isc.org
Wed May 18 16:26:54 UTC 2011
The branch, trac915 has been updated
via 23d63caf0cc09f19a01794458bf2457a67caac05 (commit)
via 031eda633fe45496f47fad9d4b656a0100144f75 (commit)
from ac2e283bd92dcc5af494938d6cfed82e4074abde (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 23d63caf0cc09f19a01794458bf2457a67caac05
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed May 18 09:26:02 2011 -0700
[trac915] added Python.h at the head of included files as required in
the python API (failing this will cause build errors on some systems)
commit 031eda633fe45496f47fad9d4b656a0100144f75
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Wed May 18 09:22:29 2011 -0700
[trac915] added a space in exception what() message for readability
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/python/rcode_python.cc | 2 ++
src/lib/dns/python/tsigrecord_python.cc | 2 ++
src/lib/dns/rdata/any_255/tsig_250.cc | 2 +-
3 files changed, 5 insertions(+), 1 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/rcode_python.cc b/src/lib/dns/python/rcode_python.cc
index efb0f43..b594ad3 100644
--- a/src/lib/dns/python/rcode_python.cc
+++ b/src/lib/dns/python/rcode_python.cc
@@ -12,6 +12,8 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <Python.h>
+
#include <exceptions/exceptions.h>
#include <dns/rcode.h>
diff --git a/src/lib/dns/python/tsigrecord_python.cc b/src/lib/dns/python/tsigrecord_python.cc
index 120ae7b..8a78b5e 100644
--- a/src/lib/dns/python/tsigrecord_python.cc
+++ b/src/lib/dns/python/tsigrecord_python.cc
@@ -12,6 +12,8 @@
// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
// PERFORMANCE OF THIS SOFTWARE.
+#include <Python.h>
+
#include <string>
#include <stdexcept>
diff --git a/src/lib/dns/rdata/any_255/tsig_250.cc b/src/lib/dns/rdata/any_255/tsig_250.cc
index 8211e7f..2557965 100644
--- a/src/lib/dns/rdata/any_255/tsig_250.cc
+++ b/src/lib/dns/rdata/any_255/tsig_250.cc
@@ -71,7 +71,7 @@ getToken(istringstream& iss, const string& full_input) {
string token;
iss >> token;
if (iss.bad() || iss.fail()) {
- isc_throw(InvalidRdataText, "Invalid TSIG text: parse error" <<
+ isc_throw(InvalidRdataText, "Invalid TSIG text: parse error " <<
full_input);
}
return (token);
More information about the bind10-changes
mailing list