BIND 10 master, updated. 3b38bc023ff63f7567ebce3d9a1cea9fc8654d1d Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Jan 14 22:05:47 UTC 2013
The branch, master has been updated
via 3b38bc023ff63f7567ebce3d9a1cea9fc8654d1d (commit)
via 27369e24c8d4acca1ab5905245b218e31747aee8 (commit)
from 804f48610620ea057b91857ed6d3c993f796c444 (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 3b38bc023ff63f7567ebce3d9a1cea9fc8654d1d
Merge: 27369e2 804f486
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Jan 14 14:05:45 2013 -0800
Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10
commit 27369e24c8d4acca1ab5905245b218e31747aee8
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Jan 14 14:04:12 2013 -0800
[master] place internal exception class in a separate namespace.
this is the same workaround with particular versions of clang++ (on a
particular instance of OS X box) as that we did for isc.log wrapper.
committing it at my discretion.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/python/zone_checker_python.cc | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/python/zone_checker_python.cc b/src/lib/dns/python/zone_checker_python.cc
index e78be95..eaad72d 100644
--- a/src/lib/dns/python/zone_checker_python.cc
+++ b/src/lib/dns/python/zone_checker_python.cc
@@ -65,12 +65,17 @@ namespace dns {
namespace python {
namespace internal {
-namespace {
+// Place the exception class in a named namespace to avoid weird run time
+// failure with clang++. See isc.log Python wrapper.
+namespace clang_unnamed_namespace_workaround {
// This is used to abort check_zone() and go back to the top level.
// We use a separate exception so it won't be caught in the middle.
class InternalException : public std::exception {
};
+}
+using namespace clang_unnamed_namespace_workaround;
+namespace {
// This is a "wrapper" RRsetCollection subclass. It's constructed with
// a Python RRsetCollection object, and its find() calls the Python version
// of RRsetCollection.find(). This way, the check_zone() wrapper will work
More information about the bind10-changes
mailing list