<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>Eric S. Raymond 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/6b143a81b1e732148aa1210f2ec71cb4d4f3fcd3">6b143a81</a></strong>
<div>
<span>by Eric S. Raymond</span>
<i>at 2015-12-03T13:14:58Z</i>
</div>
<pre class='commit-message'>Fix archaisms in comments from thera of 32-bit longs and WWVB radios.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
include/ntp_fp.h
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
ntpd/ntp_refclock.c
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/6b143a81b1e732148aa1210f2ec71cb4d4f3fcd3#diff-0'>
<strong>
include/ntp_fp.h
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/include/ntp_fp.h
</span><span style="color: #000000;background-color: #ddffdd">+++ b/include/ntp_fp.h
</span><span style="color: #aaaaaa">@@ -9,7 +9,7 @@
</span>
/*
* NTP uses two fixed point formats. The first (l_fp) is the "long"
<span style="color: #000000;background-color: #ffdddd">- * format and is 64 bits long with the decimal between bits 31 and 32.
</span><span style="color: #000000;background-color: #ddffdd">+ * format and is 64 bits wide with the decimal between bits 31 and 32.
</span> * This is used for time stamps in the NTP packet header (in network
* byte order) and for internal computations of offsets (in local host
* byte order). We use the same structure for both signed and unsigned
<span style="color: #aaaaaa">@@ -40,7 +40,7 @@ typedef struct {
</span>
/*
* Fractional precision (of an l_fp) is actually the number of
<span style="color: #000000;background-color: #ffdddd">- * bits in a long.
</span><span style="color: #000000;background-color: #ddffdd">+ * bits in an int32_t/uint32_t.
</span> */
#define FRACTION_PREC (32)
<span style="color: #aaaaaa">@@ -65,7 +65,7 @@ typedef int32_t s_fp;
</span> typedef uint32_t u_fp;
/*
<span style="color: #000000;background-color: #ffdddd">- * A unit second in fp format. Actually 2**(half_the_bits_in_a_long)
</span><span style="color: #000000;background-color: #ddffdd">+ * A unit second in fp format. Actually 2**(half_the_bits_in_int32)
</span> */
#define FP_SECOND (0x10000)
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/6b143a81b1e732148aa1210f2ec71cb4d4f3fcd3#diff-1'>
<strong>
ntpd/ntp_refclock.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/ntpd/ntp_refclock.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/ntpd/ntp_refclock.c
</span><span style="color: #aaaaaa">@@ -508,7 +508,7 @@ refclock_sample(
</span> * This routine simulates the NTP receive and packet procedures for a
* reference clock. This provides a mechanism in which the ordinary NTP
* filter, selection and combining algorithms can be used to suppress
<span style="color: #000000;background-color: #ffdddd">- * misbehaving radios and to mitigate between them when more than one is
</span><span style="color: #000000;background-color: #ddffdd">+ * misbehaving time sources and to mitigate between them when more than one is
</span> * available for backup.
*/
void
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/6b143a81b1e732148aa1210f2ec71cb4d4f3fcd3">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.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://gitlab.com/NTPsec/ntpsec/commit/6b143a81b1e732148aa1210f2ec71cb4d4f3fcd3"}}</script>
</p>
</div>
</body>
</html>