Brent Cook
b1cbf2c14a
experimental time sync bits, see #25
8 years ago
Brent Cook
70b6d21af6
signal time sync to the OS
This is used to ensure that the time is written to the RTC when it is
synced. Problem noticed and patched by Christian Weisgerber.
9 years ago
Brent Cook
733037e6fc
spring cleaning before resyncing with upstream
Layout build machinery closer to LibreSSL to make code sharing easier.
Split the big Makefile.am into src/compat.
9 years ago
Brent Cook
29e3fe363e
ensure that all of the fields of struct timex are initialized
10 years ago
Brent Cook
eeb97529cd
prefer adjtimex over the deprecated ntp_adjtime on Linux
Thanks to @chneukirchen for the suggestion.
10 years ago
Brent Cook
04f3b3eeee
use per-OS files for adjfreq emulation
This makes it easier to see what is supported by each OS, and to improve
them individually.
10 years ago
Brent Cook
ca4f4d455a
move all compatibility shims to compat
10 years ago
Brent Cook
9b4d748b44
initial OS X support
Well, support may be too concrete of a term. There is a lot that is
missing in OS X, and not everything can be implemented with portability
shims. The time APIs in OS X seem to have frozen with NeXTSTEP and never
advanced with POSIX.
10 years ago
Brent Cook
d5b81b8ed2
new OpenNTPD portable tree
First attempt at building a new OpenNTPD portable project, based on the
latest OpenBSD source.
10 years ago