Re: Build broken on NetBSD and FreeBSD

2016-10-17 Thread Hal Murray
e...@thyrsus.com said: > Maybe not any more; OpenBSD manual search didn't find it. ... > But something is screwy here. OpenBSD URL, but FreeBSD banner on the page. > Methinks I smell bit-rot. Looks clean on my system: int adjfreq(const int64_t *freq, int64_t *oldfreq); DESCRIPTION

Re: Build broken on NetBSD and FreeBSD

2016-10-17 Thread Eric S. Raymond
Hal Murray : > OpenBSD has an adjfreq similar to adjtime. /me looks. Maybe not any more; OpenBSD manual search didn't find it. I did find this with a more general search: http://www.manualpages.de/OpenBSD/OpenBSD-5.0/man2/adjfreq.2.html But something is screwy here.

Re: Build broken on NetBSD and FreeBSD

2016-10-17 Thread Hal Murray
> Fixed, I think. I don't have a *BSD test system. Seems happy. Thanks. > But in ntpd, the ntp_adjtime() calls never touch the time member. The minor > mistake I made in introducing ntp_adjtime_ns() was to try to scale the > Linux-specific time member as though it exists portably and ntpd

Re: Build broken on NetBSD and FreeBSD

2016-10-16 Thread Eric S. Raymond
Hal Murray : > ../../libntp/machines.c:92:5: error: 'struct timex' has no member named 'time' > ../../libntp/machines.c:101:5: error: 'struct timex' has no member named > 'time' Fixed, I think. I don't have a *BSD test system. Sorry about the belated response, my

Build broken on NetBSD and FreeBSD

2016-10-13 Thread Hal Murray
../../libntp/machines.c:92:5: error: 'struct timex' has no member named 'time' ../../libntp/machines.c:101:5: error: 'struct timex' has no member named 'time' >From NetBSD: struct timex { unsigned int modes; /* clock mode bits (wo) */ longoffset; /* time offset