Commit Graph

54 Commits

Author SHA1 Message Date
soren
89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
mycroft
f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
tron
7ff4a3bbe2 Replace HTML tag by correct character. Problem reported by SAKAI, Atsushi
in PR bin/9036.
1999-12-21 18:45:52 +00:00
enami
82d7115cf2 Don't pass so many args to .Nd macro. It just overflows. 1999-11-19 01:12:39 +00:00
veego
09d42ef262 Use BIN{OWN,GRP,MODE} to create the directory and not DOC{OWN,GRP,MODE}. 1999-10-31 22:46:17 +00:00
sommerfeld
75397663ed Correct precision estimate:
we buzzloop calling gettimeofday() until we see a big jump.
old code would take the difference between the immediately previous return value.
Now, compute the difference based on the clock value as of right
after the previous big jump.

An alpha pc164 at 500MHz can do about 700 calls to gettimeofday() in
one clock tick, each of which increments tv_usec by 1 -- so the "big
jump" at the end is only ~270us rather than the real clock tick of
976us, which yields a precision value which is overoptimistic by a
factor of ~4.  The corrected code now yields the exact tick value
(which is correct since NetBSD/alpha doesn't have a precise
microtime).
1999-09-06 22:27:44 +00:00
sommerfeld
1381ef0ce0 When peers are configured "remotely" (by ntp_intres.c), don't start
more than one per timer tick.  this will hopefully cause faster
convergence since the responses are less likely to pile up on top of
each other.  (they'll eventually get randomized out of synch with each
other, but there's no sense in starting them off synchronized).
1999-09-06 21:58:45 +00:00
bad
4254ad64cc Resurrect the code to check for duplicate interface addresses that was
lost in the previous change.

This fixes PRs 7065 and 7482 by Martin Husemann <martin@rumolt.teuto.de>.

Also do the interface copying iff INT_LOOPBACK as in the BSDI version of
this code.
1999-05-27 17:12:22 +00:00
garbled
d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
erh
9d7d8174c5 Add missing .El line. 1999-03-10 08:33:15 +00:00
hubertf
36f9d7790a RCS ID police 1999-02-15 04:03:03 +00:00
bouyer
659223bfb2 When searching broadcast addresses, skip interface aliases. From
Wolfgang Rupprecht in PR bin/6897.
1999-01-29 13:19:17 +00:00
mcr
63d650cccb HTML documentation files for XNTP, installed in /usr/share/doc/xntp 1998-12-30 20:19:29 +00:00
kleink
3eefada6a0 sigemptyset() sa_mask of sigaction to be installed. 1998-10-04 18:43:21 +00:00
ross
b1934d6034 {} fixes from Erik Bertelsen <erik@erik-be.uni-c.dk> (PR 6047) to shut up egcs. 1998-08-27 20:31:00 +00:00
christos
3511f44e2e Fix typos... 1998-08-12 14:25:08 +00:00
christos
a7a81d1b02 Resolve corn-flakes 1998-08-12 14:11:49 +00:00
christos
ea4bc98c9f PR/5384: Tom Ivar Helbekkmo: We need a ctty to fsetown. 1998-05-02 15:28:32 +00:00
ross
aaa420bc1f Restore lost line breaks before .Nm. (David Brownlee PR# 5343)
Two more cases fixed, also.
1998-04-22 06:24:55 +00:00
lukem
77a346fea2 use COPTS not CFLAGS 1998-04-13 14:42:03 +00:00
thorpej
f483a368ce Fix ptrdiff type lossage on Alpha. 1998-04-09 17:17:28 +00:00
cgd
9ed503832c offset and length should be u_char. 1998-04-03 05:06:04 +00:00
christos
aa476ac7ea WARNSify [patches sent to Udel] 1998-04-01 15:01:17 +00:00
mrg
b5464ed20a main returns int. 1998-03-30 02:27:56 +00:00
thorpej
eb671b4eaa Build with -ansi, prevents a parse error apparently generated because
some versions of GCC have a `restrict' keyword (??).
1998-03-26 07:07:55 +00:00
christos
50e0331ef5 Resolve conflicts. 1998-03-06 18:17:13 +00:00
christos
eed5e96410 Import xntp 3-5-92 1998-03-06 16:32:56 +00:00
cgd
27ef674380 (char)-1 != (int)-1 on unsigned-char machines. 1998-01-15 22:58:28 +00:00
perry
4db5a54188 RCS Id Police. 1998-01-09 06:06:02 +00:00
lukem
0a94f4f077 use CPPFLAGS instead of CFLAGS 1997-10-25 06:57:53 +00:00
lukem
bb2c8b04e6 ntp_getopt returns -1 not EOF, disable WARNS here 1997-10-17 14:34:38 +00:00
fair
4c55c4068f patch from PR#3944 1997-08-06 11:50:57 +00:00
christos
44b323ecef PR/3837: Enami Tsugutomo: Incorrect printf format.
(use %p not %x to print pointers)
1997-07-08 14:23:54 +00:00
christos
58564b9a61 Fix another typo: falsticker -> falseticker. 1997-07-08 05:07:47 +00:00
christos
814dad83a9 PR/3828: Geoff Wing: Typos in man page. 1997-07-07 19:12:29 +00:00
christos
b4a2ff6df4 PR/3828: Geoff Wing: Typos in man page 1997-07-07 19:10:39 +00:00
christos
228c411fb5 PR/3774: Torsten Duwe: Add missing clocks to xntp; fix some bugs in xntp2netbsd 1997-06-23 17:34:15 +00:00
christos
085df7da2f Adjust the Makefile for the new clocks and make this compile cleanly 1997-06-23 17:31:38 +00:00
christos
30bc5bd182 Fix bugs from the distribution. 1997-06-23 17:30:42 +00:00
christos
50b2781909 Per Jonathan Stone's request... 1997-06-23 17:30:07 +00:00
christos
aa009acb0e PR/3774: Add parsers for the reference clocks. 1997-06-23 17:28:33 +00:00
mikel
46e8e30c38 fix typos; from Paul Goyette in PR bin/3676 1997-05-29 07:47:05 +00:00
thorpej
3c8f9e9de8 Fix a comment. 1997-05-23 03:09:56 +00:00
mikel
71f0bfd8cc refer to proper key file, not gettytab; from Dave Huang in PR bin/3610. 1997-05-13 04:38:20 +00:00
christos
c98409d753 PR/3519: Brad Spenser: xntpd now uses sysctl to get clockrate info. 1997-04-21 03:07:28 +00:00
christos
5620f08591 - Remove remnants of html [from Kim]
- Fix perl script to use %% NetBSD <comment-prefix>
1997-04-20 21:53:19 +00:00
cgd
a30d503d4e casts to avoid warnings on alpha 1997-04-18 21:01:37 +00:00
christos
a148a58d6d Don't put an extra $NetBSD$ in the domestic/libntp Makefile 1997-04-18 19:04:58 +00:00
christos
13d79cda56 Add version.c to the lib Makefiles 1997-04-18 14:28:04 +00:00
christos
cff982ecc5 Add BINDIR=/usr/sbin in Makefile.inc and the script 1997-04-18 14:06:15 +00:00