[Git][NTPsec/ntpsec][master] Typos

Matt Selsky gitlab at mg.gitlab.com
Thu Dec 12 18:26:58 UTC 2019



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
a9f7d847 by Matt Selsky at 2019-12-12T02:08:57-05:00
Typos

- - - - -


17 changed files:

- contrib/README
- devel/TODO.adoc
- devel/ntpv5.adoc
- devel/pre-release.adoc
- docs/driver_oncore.adoc
- docs/parsedata.adoc
- etc/rc/rc.d/TIMESYNC
- libntp/clockwork.c
- libparse/clk_sel240x.c
- ntpclients/ntpdig.py
- ntpclients/ntploggps.py
- ntpclients/ntplogtemp.py
- ntpclients/ntpsnmpd-man.adoc
- ntpd/ntp_peer.c
- ntpd/nts_cookie.c
- ntpd/refclock_jjy.c
- pylib/util.py


Changes:

=====================================
contrib/README
=====================================
@@ -4,7 +4,7 @@ efforts.
 
 ntpconfigtest: Check your linux configuration for the proper entries.
 
-ntpheat is a program to exercise a CPU until the CPU reachs a certain
+ntpheat is a program to exercise a CPU until the CPU reaches a certain
 temperature.  The idea is to get the temperature around the system
 oscillator to be near the zero TC point.  Tested on RasPi wrapped
 in bubble wrap.  Formerly known as makeheat.


=====================================
devel/TODO.adoc
=====================================
@@ -106,7 +106,7 @@ Version string cleanup:
 
 Pivot cleanup:
   Currently, ntpd does a pivot deep in step_systime in libntp/systime.c
-  That handles the problem of 32 bits of seconds wraping in 2038.
+  That handles the problem of 32 bits of seconds wrapping in 2038.
   Posix is shifting to a 64 bit time_t, but we only have 32 bits
   of seconds in l_fp.  We can clean up a lot of code if l_fp is
   only used for offsets except when used in packets.  That requires


=====================================
devel/ntpv5.adoc
=====================================
@@ -32,7 +32,7 @@ The leader byte is followed by an ASCII decimal numeric literal,
 which is interpreted as a packet type.
 
 Following the mode, the body of the packet is encoded in a strict
-subset of JSON intended to avoid known edge cases decribed in
+subset of JSON intended to avoid known edge cases described in
 <<<Seriot2016>>>.  The outermost enclosing {} is required. Trailing
 commas on elements are disallowed. Scientific notation is not used.
 String literals may not contain the characters TAB (0x09), LF (0x0A),


=====================================
devel/pre-release.adoc
=====================================
@@ -43,7 +43,7 @@ CONFIG_NO_HZ turned off and CONFIG_NTP_PPS on.
 
 
 We should review any documentation for best-practices and verify
-that any sample code and build recipies work as expected.  In
+that any sample code and build recipes work as expected.  In
 particular, we should make sure the pool option works and that
 the Raspberry Pi Stratum 1 server HOWTO works.
 (There are two sample ntp.conf files in contrib/ .


=====================================
docs/driver_oncore.adoc
=====================================
@@ -45,7 +45,7 @@ newer ones use a u-blox engine but emulate OnCore behavior.  Future
 versions will drop OnCore reporting entirely, at which time the
 possibility of removing this driver will be revisited.
 
-See the CNS Clock vendor product page for specfications.
+See the CNS Clock vendor product page for specifications.
 
 We expect this should also work with the Furuno line of
 M12 compatibles, including the GT8736 and (now discontinued) GT8536,


=====================================
docs/parsedata.adoc
=====================================
@@ -341,7 +341,7 @@ Nortel.
       dataformat 6021
       output time and date
       transmit with control characters
-      transmit evry second
+      transmit every second
 --------------------------------------
 
 Type 6021 Serial Output format


=====================================
etc/rc/rc.d/TIMESYNC
=====================================
@@ -3,6 +3,6 @@
 # PROVIDE: TIMESYNC
 # REQUIRE: LOGIN ntpwait
 
-# This depedency ensures that all services which require stable system clock
+# This dependency ensures that all services which require stable system clock
 # are run after ntpd is synchronized. It's run as late as possible, if you need
 # stable clock before login use BEFORE: LOGIN


=====================================
libntp/clockwork.c
=====================================
@@ -1,5 +1,5 @@
 /*
- * clockwork.c - the interface to the hardare clock
+ * clockwork.c - the interface to the hardware clock
  */
 
 #include "config.h"


=====================================
libparse/clk_sel240x.c
=====================================
@@ -26,7 +26,7 @@
 //              '#' <100 us
 //              '?' >100 us
 //
-// Based on this we need to recored the stime when we receive the <SOH>
+// Based on this we need to record the stime when we receive the <SOH>
 // character and end it when we see the \n.
 //
 // The q or quality character indicates satellite lock and sync.   For the


=====================================
ntpclients/ntpdig.py
=====================================
@@ -244,7 +244,7 @@ USAGE:  ntpdig [-<flag> [<val>] | --<name>[{=| }<val>]]...
    -c yes concurrent      Hosts to be queried concurrently
    -d no  debug           Increase debug verbosity
    -D yes set-debug-level Set debug verbosity
-   -g yes gap             Set gap between requests in miliseconds
+   -g yes gap             Set gap between requests in milliseconds
    -j no  json            Use JSON output format
    -l Str logfile         Log to specified logfile
                                  - prohibits the option 'syslog'


=====================================
ntpclients/ntploggps.py
=====================================
@@ -48,7 +48,7 @@ except ImportError as e:
 class logfile_header_class(logging.handlers.TimedRotatingFileHandler):
     'A class to modify the file logging handler.'
     def doRollover(self):
-        'function to add header to new file on rotaion.'
+        'function to add header to new file on rotation.'
         if str is bytes:
             super(logfile_header_class, self).doRollover()
         else:


=====================================
ntpclients/ntplogtemp.py
=====================================
@@ -35,7 +35,7 @@ import time
 class logfile_header_class(logging.handlers.TimedRotatingFileHandler):
     'A class to modify the file logging handler.'
     def doRollover(self):
-        'function to add header to new file on rotaion.'
+        'function to add header to new file on rotation.'
         if str is bytes:
             super(logfile_header_class, self).doRollover()
         else:


=====================================
ntpclients/ntpsnmpd-man.adoc
=====================================
@@ -2,7 +2,7 @@
 :man version: @NTPSEC_VERSION@
 include::../docs/include-man.ad[]
 
-ntpsnmpd - NTP Simple Network Management Protcol sub-sgent
+ntpsnmpd - NTP Simple Network Management Protocol sub-agent
 
 include::../docs/includes/ntpsnmpd-body.adoc[]
 


=====================================
ntpd/ntp_peer.c
=====================================
@@ -334,7 +334,7 @@ score(
 	int	temp;
 
 	/*
-	 * This routine calculates the premption score from the peer
+	 * This routine calculates the preemption score from the peer
 	 * error bits and status. Increasing values are more cherished.
 	 */
 	temp = 0;


=====================================
ntpd/nts_cookie.c
=====================================
@@ -49,7 +49,7 @@
 /* K and I should be preserved across boots, and rotated every day or so.
  * We need to support the old K/I for another day.
  * Encryption within cookies uses AEAD_AES_SIV_CMAC_nnn.  That's the
- * same family of algorithims as NTS uses on the wire.
+ * same family of algorithms as NTS uses on the wire.
  * The nnn is selected by the key length.
  *   32 => 256
  *   48 => 384


=====================================
ntpd/refclock_jjy.c
=====================================
@@ -1906,8 +1906,8 @@ jjy_poll_citizentic_jjy200 ( int unit, struct peer *peer )
 /*################################################################################################*/
 /*################################################################################################*/
 /*                                                                                                */
-/*  This clock has NMEA mode and command/response mode.                                            */
-/*  When this jjy driver are used, set to command/respose mode of this clock                      */
+/*  This clock has NMEA mode and command/response mode.                                           */
+/*  When this jjy driver are used, set to command/response mode of this clock                     */
 /*  by the onboard switch SW4, and make sure the LED-Y is tured on.                               */
 /*  Other than this JJY driver, the refclock driver type 20, generic NMEA driver,                 */
 /*  works with the NMEA mode of this clock.                                                       */


=====================================
pylib/util.py
=====================================
@@ -87,7 +87,7 @@ def dolog(logfp, text, debug, threshold):
     """debug is the current debug value
     threshold is the trigger for the current log"""
     if logfp is None:
-        return  # can turn off logging by supplying a None file descriptior
+        return  # can turn off logging by supplying a None file descriptor
     text = rfc3339(time.time()) + " " + text + "\n"
     if debug >= threshold:
         logfp.write(text)
@@ -497,7 +497,7 @@ def unitifyvar(value, varname, baseunit=None, width=8, unitSpace=False):
 
 
 def unitify(value, startingunit, baseunit=None, width=8, unitSpace=False):
-    "Formats a numberstring with relevant units. Attemps to fit in width."
+    "Formats a numberstring with relevant units. Attempts to fit in width."
     if baseunit is None:
         baseunit = getunitgroup(startingunit)[0]
     ooms = oomsbetweenunits(startingunit, baseunit)



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a9f7d847d319d6733ba64d2ad7eaa0b50f7f8851

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/a9f7d847d319d6733ba64d2ad7eaa0b50f7f8851
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20191212/27f59644/attachment-0001.htm>


More information about the vc mailing list