BIND 10 trac1698-test, updated. 321b22346c57951b3e9758b471c4a1c95f5bb5be [1698-test] minor editorial fixes: folded lines, obvious typo, redundant space.

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Mar 8 00:01:57 UTC 2012


The branch, trac1698-test has been updated
       via  321b22346c57951b3e9758b471c4a1c95f5bb5be (commit)
      from  4e7ace34dbde7f41d474fc93a0bee27361b9651d (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 321b22346c57951b3e9758b471c4a1c95f5bb5be
Author: JINMEI Tatuya <jinmei at isc.org>
Date:   Wed Mar 7 16:01:25 2012 -0800

    [1698-test] minor editorial fixes: folded lines, obvious typo, redundant space.

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

Summary of changes:
 src/lib/log/logger.h               |   11 ++++++-----
 src/lib/log/logger_manager.cc      |    2 +-
 src/lib/log/message_initializer.cc |    2 +-
 src/lib/log/message_initializer.h  |    2 +-
 4 files changed, 9 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/lib/log/logger.h b/src/lib/log/logger.h
index de74563..66e7414 100644
--- a/src/lib/log/logger.h
+++ b/src/lib/log/logger.h
@@ -116,13 +116,14 @@ public:
     ///
     /// \note The name of the logger may be no longer than MAX_LOGGER_NAME_SIZE
     /// else the program will halt with an assertion failure.  This restriction
-    /// allows loggers to be declared statically: the name is stored in a fixed-
-    /// size array to avoid the need to allocate heap storage during program
-    /// initialization (which causes problems on some operating systems).
+    /// allows loggers to be declared statically: the name is stored in a
+    /// fixed-size array to avoid the need to allocate heap storage during
+    /// program initialization (which causes problems on some operating
+    /// systems).
     ///
     /// \note Note also that there is no constructor taking a std::string. This
-    /// minimises the possibility of initializing a static logger with a string,
-    /// so leading to problems mentioned above.
+    /// minimises the possibility of initializing a static logger with a
+    /// string, so leading to problems mentioned above.
     Logger(const char* name) : loggerptr_(NULL) {
         assert(std::strlen(name) < sizeof(name_));
         std::strcpy(name_, name);
diff --git a/src/lib/log/logger_manager.cc b/src/lib/log/logger_manager.cc
index d5dfe7f..8a8a36b 100644
--- a/src/lib/log/logger_manager.cc
+++ b/src/lib/log/logger_manager.cc
@@ -95,7 +95,7 @@ void
 LoggerManager::init(const std::string& root, isc::log::Severity severity,
                     int dbglevel, const char* file)
 {
-    // Load in the messages declared in the program and registered by 
+    // Load in the messages declared in the program and registered by
     // statically-declared MessageInitializer objects.
     MessageInitializer::loadDictionary();
 
diff --git a/src/lib/log/message_initializer.cc b/src/lib/log/message_initializer.cc
index 62037ef..b56e29f 100644
--- a/src/lib/log/message_initializer.cc
+++ b/src/lib/log/message_initializer.cc
@@ -28,7 +28,7 @@
 //    of system libraries is also carried out at the same time.
 // 2) After main() starts executing, loadDictionary() is called.
 //
-// 
+//
 
 namespace {
 
diff --git a/src/lib/log/message_initializer.h b/src/lib/log/message_initializer.h
index f2ff40b..b3ec981 100644
--- a/src/lib/log/message_initializer.h
+++ b/src/lib/log/message_initializer.h
@@ -52,7 +52,7 @@ namespace log {
 /// something that may give problems on some operating systems.
 ///
 /// When messages are added to the dictionary, the are added via the
-/// MessageDictionary::add() method, so any duplicates are stored in the the
+/// MessageDictionary::add() method, so any duplicates are stored in the
 /// global dictionary's overflow vector whence they can be retrieved at
 /// run-time.
 



More information about the bind10-changes mailing list