BIND 10 trac2369, updated. e32617d592d204e4c5c27ff3ecab77ea4e258cb7 [2369] Explain how compact() affects ungetAll()

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Nov 1 05:10:11 UTC 2012


The branch, trac2369 has been updated
       via  e32617d592d204e4c5c27ff3ecab77ea4e258cb7 (commit)
      from  eb92bed532b40a0904f8397ba108d96f152abbbf (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 e32617d592d204e4c5c27ff3ecab77ea4e258cb7
Author: Mukund Sivaraman <muks at isc.org>
Date:   Thu Nov 1 10:40:00 2012 +0530

    [2369] Explain how compact() affects ungetAll()

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

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

-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer_inputsource.h b/src/lib/dns/master_lexer_inputsource.h
index aec5395..9c8533e 100644
--- a/src/lib/dns/master_lexer_inputsource.h
+++ b/src/lib/dns/master_lexer_inputsource.h
@@ -105,9 +105,11 @@ public:
     /// called.
     void ungetChar();
 
-    /// Forgets everything read so far, and skips back to the position
-    /// where reading started. If \c saveLine() was called previously,
-    /// it sets the current line number to the line number saved then.
+    /// Forgets what was read, and skips back to the position where
+    /// \c compact() was last called. If \c compact() was not called, it
+    /// skips back to where reading started. If \c saveLine() was called
+    /// previously, it sets the current line number to the line number
+    /// saved.
     void ungetAll();
 
     /// Removes buffered content before the current location in the



More information about the bind10-changes mailing list