<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
img {
max-width: 100%;
height: auto;
}
p.details {
font-style:italic;
color:#777
}
.footer p {
font-size:small;
color:#777
}
pre.commit-message {
white-space: pre-wrap;
}
.file-stats a {
text-decoration: none;
}
.file-stats .new-file {
color: #090;
}
.file-stats .deleted-file {
color: #B00;
}
</style>
<body>
<div class='content'>
<h3>
Mark Atwood pushed to branch master
at <a href="https://gitlab.com/NTPsec/ntpsec">NTPsec / ntpsec</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/3cde2d604e3ec0dc656c57e4b0ebfcdb39922451">3cde2d60</a></strong>
<div>
<span>by Matt Selsky</span>
<i>at 2016-01-08T23:19:42-05:00</i>
</div>
<pre class='commit-message'>Fix spelling of "repetitions".</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/4a9815803a36b4f018d89e5a7391fd215357e4fd">4a981580</a></strong>
<div>
<span>by Matt Selsky</span>
<i>at 2016-01-08T23:20:00-05:00</i>
</div>
<pre class='commit-message'>Clean up typos in documentation.</pre>
</li>
<li>
<strong><a href="https://gitlab.com/NTPsec/ntpsec/commit/1baa4021cb30ab51f152b70ce7232666740d089e">1baa4021</a></strong>
<div>
<span>by Mark Atwood</span>
<i>at 2016-01-19T07:42:30+00:00</i>
</div>
<pre class='commit-message'>Merge branch 'issue36' into 'master'
Fix issue 36
See merge request !2</pre>
</li>
</ul>
<h4>3 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
devel/tour.txt
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
ntpd/refclock_chu.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-2'>
ntpd/refclock_parse.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/fecbe68c35db3853ae06ba376e2ea03dee88e2ce...1baa4021cb30ab51f152b70ce7232666740d089e#diff-0'>
<strong>
devel/tour.txt
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/devel/tour.txt
</span><span style="color: #000000;background-color: #ddffdd">+++ b/devel/tour.txt
</span><span style="color: #aaaaaa">@@ -38,8 +38,8 @@ calendar representations.
</span>
The vint64 type is a historical relic. NTP was written well before
the 64-bit word size became common. While compilers on 32-bit machines
<span style="color: #000000;background-color: #ffdddd">-sometimes had have have "long long" as an integral 64-bit type, this
-was not guaranteed before C99.
</span><span style="color: #000000;background-color: #ddffdd">+sometimes have had "long long" as an integral 64-bit type, this was not
+guaranteed before C99.
</span>
Thus, NTP carries a "variant 64-bit int" type that is actually a union
with several different interpretations. Support is mainly in
<span style="color: #aaaaaa">@@ -86,7 +86,7 @@ These aren't local types themselves - both are standardized in
</span> ANSI/POSIX. They're both second/subsecond pairs intended to represent
time without loss of precision due to float operations. The
difference is that a timespec represents nanoseconds, while a timeval
<span style="color: #000000;background-color: #ffdddd">-represents only nanonseconds.
</span><span style="color: #000000;background-color: #ddffdd">+represents only microseconds.
</span>
Historically, struct timeval is associated with the minicomputer-based
Berkeley Unixes of the 1980s, designed when processor clocks were
<span style="color: #aaaaaa">@@ -120,7 +120,7 @@ waiting for a UDP packet to arrive on some set of open interfaces, or
</span> a clock sample to arrive from a locally-attached reference clock.
Incoming packets and clock samples are fed to a protocol state
machine, which may generate UDP sends to peers. This main loop is
<span style="color: #000000;background-color: #ffdddd">-capured by a function in ntpd/ntpd.c tellingly named 'mainloop()'.
</span><span style="color: #000000;background-color: #ddffdd">+captured by a function in ntpd/ntpd.c tellingly named 'mainloop()'.
</span>
This main loop is interrupted once per second by a timer tick that
sets an alarm flag visible to the mainloop() logic. When execution
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/fecbe68c35db3853ae06ba376e2ea03dee88e2ce...1baa4021cb30ab51f152b70ce7232666740d089e#diff-1'>
<strong>
ntpd/refclock_chu.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_chu.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_chu.c
</span><span style="color: #aaaaaa">@@ -1210,7 +1210,7 @@ chu_a(
</span>
/*
* Extract the second number; it must be in the range 2 through
<span style="color: #000000;background-color: #ffdddd">- * 9 and the two repititions must be the same.
</span><span style="color: #000000;background-color: #ddffdd">+ * 9 and the two repetitions must be the same.
</span> */
temp = (up->cbuf[k + 4] >> 4) & 0xf;
if (temp < 2 || temp > 9 || k + 9 >= nchar || temp !=
</code></pre>
<br>
</li>
<li id='diff-2'>
<a href='https://gitlab.com/NTPsec/ntpsec/compare/fecbe68c35db3853ae06ba376e2ea03dee88e2ce...1baa4021cb30ab51f152b70ce7232666740d089e#diff-2'>
<strong>
ntpd/refclock_parse.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/refclock_parse.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/refclock_parse.c
</span><span style="color: #aaaaaa">@@ -213,7 +213,7 @@ typedef struct bind
</span>
struct errorregression
{
<span style="color: #000000;background-color: #ffdddd">- u_long err_count; /* number of repititions per class */
</span><span style="color: #000000;background-color: #ddffdd">+ u_long err_count; /* number of repetitions per class */
</span> u_long err_delay; /* minimum delay between messages */
};
<span style="color: #aaaaaa">@@ -283,7 +283,7 @@ struct errorinfo
</span> {
u_long err_started; /* begin time (ntp) of error condition */
u_long err_last; /* last time (ntp) error occurred */
<span style="color: #000000;background-color: #ffdddd">- u_long err_cnt; /* number of error repititions */
</span><span style="color: #000000;background-color: #ddffdd">+ u_long err_cnt; /* number of error repetitions */
</span> u_long err_suppressed; /* number of suppressed messages */
struct errorregression *err_stage; /* current error stage */
};
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/compare/fecbe68c35db3853ae06ba376e2ea03dee88e2ce...1baa4021cb30ab51f152b70ce7232666740d089e">View it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>