BIND 10 trac2572-fix, updated. d09c436d4bb61e4ac7e3a6c2f3836ac30b29c40d [2572] Make minor comment updates

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Jan 15 09:05:04 UTC 2013


The branch, trac2572-fix has been updated
       via  d09c436d4bb61e4ac7e3a6c2f3836ac30b29c40d (commit)
      from  f45c804082f5ebfbe3339224083531fe86f2bfb2 (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 d09c436d4bb61e4ac7e3a6c2f3836ac30b29c40d
Author: Mukund Sivaraman <muks at isc.org>
Date:   Tue Jan 15 14:24:43 2013 +0530

    [2572] Make minor comment updates

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

Summary of changes:
 src/lib/dns/master_lexer_inputsource.cc |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer_inputsource.cc b/src/lib/dns/master_lexer_inputsource.cc
index 6e5ca18..cc1f505 100644
--- a/src/lib/dns/master_lexer_inputsource.cc
+++ b/src/lib/dns/master_lexer_inputsource.cc
@@ -52,8 +52,8 @@ getStreamSize(std::istream& is) {
         // the stream size to "unknown".
         //
         // (At least some versions of) Solaris + SunStudio shows deviant
-        // behavior here: It apparently calls lseek(2) internally, but even if
-        // it fails it doesn't set the error bits of istream.  That will
+        // behavior here: seekg() apparently calls lseek(2) internally, but
+        // even if it fails it doesn't set the error bits of istream. That will
         // confuse the rest of this function, so, as a heuristic workaround
         // we check errno and handle any non 0 value as fail().
         is.clear();   // clear this error not to confuse later ops.
@@ -66,7 +66,7 @@ getStreamSize(std::istream& is) {
             // tellg() returns -1 if istream::fail() would be true, but it's
             // not guaranteed that it shouldn't be returned in other cases.
             // In fact, with the combination of SunStudio and stlport,
-            // an stringstream created by the default constructor showed that
+            // a stringstream created by the default constructor showed that
             // behavior.  We treat such cases as an unknown size.
             ret = MasterLexer::SOURCE_SIZE_UNKNOWN;
         } else {



More information about the bind10-changes mailing list