BIND 10 trac452, updated. 3048f118d4b4c9995d7ee258c9405f9d7abbc576 [trac452] Language corrections

BIND 10 source code commits bind10-changes at lists.isc.org
Wed Feb 2 15:17:30 UTC 2011


The branch, trac452 has been updated
       via  3048f118d4b4c9995d7ee258c9405f9d7abbc576 (commit)
      from  2931606d7c3d6709284788890b016ff434d0f5e2 (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 3048f118d4b4c9995d7ee258c9405f9d7abbc576
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Wed Feb 2 16:11:21 2011 +0100

    [trac452] Language corrections

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

Summary of changes:
 src/bin/auth/auth_srv.cc                    |    2 +-
 src/bin/auth/config.cc                      |    4 ++--
 src/lib/asiolink/asiolink.h                 |    2 +-
 src/lib/asiolink/tests/asiolink_unittest.cc |    8 ++++----
 4 files changed, 8 insertions(+), 8 deletions(-)

-----------------------------------------------------------------------
diff --git a/src/bin/auth/auth_srv.cc b/src/bin/auth/auth_srv.cc
index 1f1b637..d8ecea5 100644
--- a/src/bin/auth/auth_srv.cc
+++ b/src/bin/auth/auth_srv.cc
@@ -361,7 +361,7 @@ AuthSrv::setStatisticsTimerInterval(uint32_t interval) {
         return;
     }
     if (interval > 86400) {
-        // It can't be occur since the value is checked in
+        // It can't occur since the value is checked in
         // statisticsIntervalConfig::build().
         isc_throw(InvalidParameter, "Too long interval: " << interval);
     }
diff --git a/src/bin/auth/config.cc b/src/bin/auth/config.cc
index 0e38834..1593194 100644
--- a/src/bin/auth/config.cc
+++ b/src/bin/auth/config.cc
@@ -179,11 +179,11 @@ public:
     virtual void build(ConstElementPtr config_value) {
         const int32_t config_interval = config_value->intValue();
         if (config_interval < 0) {
-            isc_throw(AuthConfigError, "negative statistics-interval value: "
+            isc_throw(AuthConfigError, "negative statistics interval value: "
                       << config_interval);
         }
         if (config_interval > 86400) {
-            isc_throw(AuthConfigError, "too long statistics-interval value: "
+            isc_throw(AuthConfigError, "Too long statistics interval value: "
                       << config_interval);
         }
         interval_ = config_interval;
diff --git a/src/lib/asiolink/asiolink.h b/src/lib/asiolink/asiolink.h
index 828c53a..1178ceb 100644
--- a/src/lib/asiolink/asiolink.h
+++ b/src/lib/asiolink/asiolink.h
@@ -585,7 +585,7 @@ private:
 /// The type of call back function is \c void(void).
 /// 
 /// The call back function will not be called if the instance of this class is
-/// destructed before the timer is expired.
+/// destroyed before the timer is expired.
 ///
 /// Note: Destruction of an instance of this class while call back is pending
 /// causes throwing an exception from \c IOService.
diff --git a/src/lib/asiolink/tests/asiolink_unittest.cc b/src/lib/asiolink/tests/asiolink_unittest.cc
index d80eef7..44ccee8 100644
--- a/src/lib/asiolink/tests/asiolink_unittest.cc
+++ b/src/lib/asiolink/tests/asiolink_unittest.cc
@@ -899,7 +899,7 @@ TEST_F(IntervalTimerTest, destructIntervalTimer) {
     // the program would immediately terminate anyway.
 
     // The call back function will not be called after the timer is
-    // destructed.
+    // destroyed.
     //
     // There are two timers:
     //  itimer_counter (A)
@@ -908,16 +908,16 @@ TEST_F(IntervalTimerTest, destructIntervalTimer) {
     //  itimer_canceller (B)
     //   (Calls TimerCallBackCancelDeleter)
     //     - first time of callback, it stores the counter value of
-    //       callback_canceller and destructs itimer_counter
+    //       callback_canceller and destroys itimer_counter
     //     - second time of callback, it compares the counter value of
     //       callback_canceller with stored value
     //       if they are same the timer was not called; expected result
-    //       if they are different the timer was called after destructed
+    //       if they are different the timer was called after destroyed
     //
     //     0  100  200  300  400  500  600 (ms)
     // (A) i--------+----x
     //                   ^
-    //                   |destruct itimer_counter
+    //                   |destroy itimer_counter
     // (B) i-------------+--------------s
     //                                  ^stop io_service
     //                                   and check if itimer_counter have been




More information about the bind10-changes mailing list