BIND 10 trac2572, updated. 76ca31298b2e7f5d85904045aaa6560bcf7ff8d6 [2572] documented additional exceptions from InputSource wrt getting size.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Jan 10 02:19:57 UTC 2013


The branch, trac2572 has been updated
       via  76ca31298b2e7f5d85904045aaa6560bcf7ff8d6 (commit)
      from  f603440ab46a86436b2208697f36bd9726fc0e03 (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 76ca31298b2e7f5d85904045aaa6560bcf7ff8d6
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Jan 9 18:19:47 2013 -0800

    [2572] documented additional exceptions from InputSource wrt getting size.

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

Summary of changes:
 src/lib/dns/master_lexer_inputsource.h |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer_inputsource.h b/src/lib/dns/master_lexer_inputsource.h
index 85b12e0..7935059 100644
--- a/src/lib/dns/master_lexer_inputsource.h
+++ b/src/lib/dns/master_lexer_inputsource.h
@@ -65,12 +65,16 @@ public:
 
     /// \brief Constructor which takes an input stream. The stream is
     /// read-from, but it is not closed.
+    ///
+    /// \throws OpenError If the data size of the input stream cannot be
+    /// detected.
     explicit InputSource(std::istream& input_stream);
 
     /// \brief Constructor which takes a filename to read from. The
     /// associated file stream is managed internally.
     ///
-    /// \throws OpenError when opening the input file fails.
+    /// \throws OpenError when opening the input file fails or the size of
+    /// the file cannot be detected.
     explicit InputSource(const char* filename);
 
     /// \brief Destructor



More information about the bind10-changes mailing list