BIND 10 trac2371, updated. 29a6cb5fb2ceebdd45c343619e9d49fbd9d75558 [2371] Make minor comment updates
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Nov 1 07:16:57 UTC 2012
The branch, trac2371 has been updated
via 29a6cb5fb2ceebdd45c343619e9d49fbd9d75558 (commit)
from 213e364291339b5e8367de470c02af695065d1ba (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 29a6cb5fb2ceebdd45c343619e9d49fbd9d75558
Author: Mukund Sivaraman <muks at isc.org>
Date: Thu Nov 1 12:44:11 2012 +0530
[2371] Make minor comment updates
-----------------------------------------------------------------------
Summary of changes:
src/lib/dns/master_lexer.h | 10 +++++-----
src/lib/dns/tests/master_lexer_unittest.cc | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dns/master_lexer.h b/src/lib/dns/master_lexer.h
index 133efcd..34c1313 100644
--- a/src/lib/dns/master_lexer.h
+++ b/src/lib/dns/master_lexer.h
@@ -29,7 +29,7 @@ namespace dns {
///
/// The \c MasterLexer class provides tokenize interfaces for parsing DNS
/// master files. It understands some special rules of master files as
-/// defined in RFC 1035, such as comments, character escaping, or multi-line
+/// defined in RFC 1035, such as comments, character escaping, and multi-line
/// data, and provides the user application with the actual data in a
/// more convenient form such as a std::string object.
///
@@ -92,12 +92,12 @@ public:
/// \throw isc::InvalidOperation Called with no opened source.
void close();
- /// \brief Return a name of the current input source name.
+ /// \brief Return the name of the current input source name.
///
/// If it's a file, it will be the C string given at the corresponding
- /// \c open() call, that is, its file name. If it's a stream, it will
- /// be formatted as "stream-%p" where %p is hex representation of the
- /// address of the stream object.
+ /// \c open() call, that is, its filename. If it's a stream, it will
+ /// be formatted as \c "stream-%p" where \c %p is hex representation
+ /// of the address of the stream object.
///
/// If there is no opened source at the time of the call, this method
/// returns an empty string.
diff --git a/src/lib/dns/tests/master_lexer_unittest.cc b/src/lib/dns/tests/master_lexer_unittest.cc
index 7d8e9c7..edff557 100644
--- a/src/lib/dns/tests/master_lexer_unittest.cc
+++ b/src/lib/dns/tests/master_lexer_unittest.cc
@@ -90,7 +90,7 @@ TEST_F(MasterLexerTest, nestedOpen) {
lexer.open(TEST_DATA_SRCDIR "/masterload.txt");
EXPECT_EQ(TEST_DATA_SRCDIR "/masterload.txt", lexer.getSourceName());
- // Close works on the "topmost" (opened last) source
+ // Close works on the "topmost" (last-opened) source
lexer.close();
EXPECT_EQ(expected_stream_name, lexer.getSourceName());
More information about the bind10-changes
mailing list