Brent Cook
6f93baf369
fix setproctitle on OS X and Linux
Call the compat code and select the correct emulation mode.
Remove the string encoding support, since we have fixed inputs for the
title string.
9 years ago
Brent Cook
2e79e8cb07
mach_absolute_time is monotonic
which is convenient, since it is exactly what we need.
9 years ago
Brent Cook
349259b778
rename clock_gettime OS X shim for consistency
9 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.
9 years ago
Brent Cook
8e4c175c42
update copyright block, patches
I removed all of the code in fake-sensors, I don't think Henning wants
all the credit for an empty file.
9 years ago
Brent Cook
ca4f4d455a
move all compatibility shims to compat
9 years ago
Brent Cook
7559d73f7d
fix build error on OS X
9 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.
9 years ago
Brent Cook
659bb3d7a2
consolidate patches, cleanup dist.sh
9 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