BIND 10 trac1206, updated. f7bb760f4d8290d52959ea83b090d1877e4ac9ee [1206] fix segfault on sunstudio

BIND 10 source code commits bind10-changes at lists.isc.org
Mon Oct 3 14:59:35 UTC 2011


The branch, trac1206 has been updated
       via  f7bb760f4d8290d52959ea83b090d1877e4ac9ee (commit)
      from  bb444bae93e8e87d1e62214b1819fb73fd7634e4 (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 f7bb760f4d8290d52959ea83b090d1877e4ac9ee
Author: Jelte Jansen <jelte at isc.org>
Date:   Mon Oct 3 14:44:28 2011 +0000

    [1206] fix segfault on sunstudio

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

Summary of changes:
 src/lib/datasrc/factory.h |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/datasrc/factory.h b/src/lib/datasrc/factory.h
index eff8891..c3147c8 100644
--- a/src/lib/datasrc/factory.h
+++ b/src/lib/datasrc/factory.h
@@ -39,9 +39,9 @@ public:
 ///        implementation library
 class DataSourceLibrarySymbolError : public DataSourceError {
 public:
-    DataSourceLibrarySymbolError(const char* file, size_t line,
-                                 const char* what) :
-        DataSourceError(file, line, what) {}
+DataSourceLibrarySymbolError(const char* file, size_t line,
+                             const char* what) :
+    DataSourceError(file, line, what) {}
 };
 
 /// \brief Raised if the given config contains bad data
@@ -50,8 +50,12 @@ public:
 /// instance, the sqlite3 datasource needs a database file).
 class DataSourceConfigError : public DataSourceError {
 public:
-    DataSourceConfigError(const char* file, size_t line, const char* what) :
-        DataSourceError(file, line, what) {}
+DataSourceConfigError(const char* file, size_t line, const char* what) :
+    DataSourceError(file, line, what) {}
+// This exception is created in the dynamic modules. Apparently
+// sunstudio can't handle it if we then automatically derive the
+// destructor, so we provide it explicitely
+~DataSourceConfigError() throw() {}
 };
 
 typedef DataSourceClient* ds_creator(isc::data::ConstElementPtr config);




More information about the bind10-changes mailing list