<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>
Hal Murray 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/2edf6d815e10073219b9e860fa0055471c79a938">2edf6d81</a></strong>
<div>
<span>by Hal Murray</span>
<i>at 2016-02-10T11:54:58-08:00</i>
</div>
<pre class='commit-message'>Remove updwtmpx, more utmpx.h cleanup
It's a glibc addition, requires __GNU
Looks like it would duplicate the normal code.</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
libntp/systime.c
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
pylib/configure.py
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/2edf6d815e10073219b9e860fa0055471c79a938#diff-0'>
<strong>
libntp/systime.c
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/libntp/systime.c
</span><span style="color: #000000;background-color: #ddffdd">+++ b/libntp/systime.c
</span><span style="color: #aaaaaa">@@ -485,22 +485,6 @@ step_systime(
</span> pututxline(&utx);
endutxent();
<span style="color: #000000;background-color: #ffdddd">- /* Not POSIX - glibc extension */
-# ifdef HAVE_UPDWTMPX
-# define WTMPX_FILE "/var/log/wtmp"
- /* WTMPX */
- utx.ut_type = OLD_TIME;
- utx.ut_tv.tv_sec = tvlast.tv_sec;
- utx.ut_tv.tv_usec = tvlast.tv_usec;
- strlcpy(utx.ut_line, OTIME_MSG, sizeof(utx.ut_line));
- updwtmpx(WTMPX_FILE, &utx);
- utx.ut_type = NEW_TIME;
- utx.ut_tv.tv_sec = timetv.tv_sec;
- utx.ut_tv.tv_usec = timetv.tv_usec;
- strlcpy(utx.ut_line, NTIME_MSG, sizeof(utx.ut_line));
- updwtmpx(WTMPX_FILE, &utx);
-# undef WTMPX_FILE
-# endif /* HAVE_UPDWTMPX */
</span> # undef OTIME_MSG
# undef NTIME_MSG
#endif
</code></pre>
<br>
</li>
<li id='diff-1'>
<a href='https://gitlab.com/NTPsec/ntpsec/commit/2edf6d815e10073219b9e860fa0055471c79a938#diff-1'>
<strong>
pylib/configure.py
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/pylib/configure.py
</span><span style="color: #000000;background-color: #ddffdd">+++ b/pylib/configure.py
</span><span style="color: #aaaaaa">@@ -287,8 +287,7 @@ def cmd_configure(ctx):
</span> ('strlcpy', ["string.h"]),
('strlcat', ["string.h"]),
#HGM ('sysconf', ["unistd.h"]),
<span style="color: #000000;background-color: #ffdddd">- ('timer_create', ["time.h"]),
- ('updwtmpx', ["utmpx.h"]), # glibc
</span><span style="color: #000000;background-color: #ddffdd">+ ('timer_create', ["time.h"])
</span> )
for ft in functions:
if len(ft) == 2:
</code></pre>
<br>
</li>
</div>
<div class='footer' style='margin-top: 10px;'>
<p>
—
<br>
<a href="https://gitlab.com/NTPsec/ntpsec/commit/2edf6d815e10073219b9e860fa0055471c79a938">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/2edf6d815e10073219b9e860fa0055471c79a938"}}</script>
</p>
</div>
</body>
</html>