Commit Graph

102 Commits

Author SHA1 Message Date
John Polstra
b306d4b4ac Fix hostname lookup problems on 64-bit machines. 1999-05-21 20:52:42 +00:00
John Polstra
57e60f2506 Fix a sign-extension bug in xntpdc's "kerninfo" output for on 64-bit
machines.  Negative pll offset values were printed as large positive
numbers.
1999-05-21 16:10:44 +00:00
Joseph Koshy
59d615f8c7 Correct typo.
PR:		docs/11185
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-04-19 07:17:58 +00:00
Daniel O'Callaghan
c61f413162 Fix leap year comments. 2000 is a leap year, so code without a century-test
still works until 2100.
1999-01-12 19:38:55 +00:00
Daniel O'Callaghan
482e17399a Fix leap year calculations, including 2000. The code was broken for all
years!
Reviewed by:	<thepish@freebsd.org>, <ishisone@sra.co.jp>
1999-01-12 19:37:32 +00:00
Dima Ruban
6fc32ef8ee Use sysctl() rather than kvm_read() when getting information
about clock stuff from kernel.
This fixes xntpd on alpha.
1998-10-19 20:48:08 +00:00
Dag-Erling Smørgrav
55c8f48a78 The adjtime man page is in section 2, not 8.
PR:		docs/8310
Submitted by:	Amakawa Shuhei <amakawa@nebula.sf.t.u-tokyo.ac.jp>
1998-10-13 22:55:29 +00:00
Dag-Erling Smørgrav
b354705227 Remove all references to tickadj(8) from rc, rc.conf and rc.conf.5.
Disable building tickadj(8) by removing util from SUBDIR in the xntpd
Makefile. Note that the sources are still there and tickadj can still
be built and installed by doing:

# cd /usr/src/usr.sbin/xntpd/util
# make all install

There are enough references to tickadj in e.g. the xntpd documentation
(not to mention the sysctl variables it uses etc.) that I don't feel
up to implementing the final solution right now.

Kinda-approved-by:	phk
1998-10-08 18:47:30 +00:00
Tor Egge
b45187b7cc Don't allow longjmp into a no longer valid stack frame. 1998-09-10 02:01:06 +00:00
Peter Wemm
d1d9ad56a9 #include <arpa/inet.h> instead of rolling own prototype. 1998-06-12 14:58:03 +00:00
Bruce Evans
2be57ccd0c Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.
1998-05-01 15:39:46 +00:00
Bruce Evans
ee09b4f65e Don't use the beforedepend target. It was a no-op here except for
helping bsd.dep.mk break `make -jN depend'.
1998-03-19 15:12:05 +00:00
Bruce Evans
15d0bb0b98 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.
1998-03-07 09:46:17 +00:00
Philippe Charnier
48dc1a0052 Convert to mdoc + typos. 1998-02-19 08:05:46 +00:00
Philippe Charnier
2cc11a3c27 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
Philippe Charnier
a7a63eccb9 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
Steve Price
ff2dff3d42 Fix some minor formatting bugs.
PR:		5216
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-12-27 18:54:23 +00:00
Alexander Langer
c62b41d9d5 YTK fix. 1997-12-22 23:00:35 +00:00
Masafumi Max NAKANE
1a17a85ecb Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
Masafumi Max NAKANE
7e04a60da7 Typo. 1997-09-19 16:04:19 +00:00
Wolfram Schneider
378b56378a typo
PR:		docs/4523
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
Andrey A. Chernov
a2f6232436 Add LC_TIME=C to date 1997-06-30 10:59:25 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Poul-Henning Kamp
5f2d7aa755 Add the trickery to power the "Conrad" DCF77 receiver. 1997-01-18 08:43:21 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Bruce Evans
5d2c7b5b1f Fixed DPADD (don't put -L in it). 1997-01-10 05:24:55 +00:00
Warner Losh
d07d447b29 Apply patch in pr 2067 to correct an uninitialized pointer dereference
in tickadj.  Tested briefly here and it it seems to work.

Possible 2.2 candidate.

Submitted by:	Don Lewis <Don.Lewis@tsc.tdk.com>
Closes PR:	2067
1996-12-17 17:21:47 +00:00
Garrett Wollman
628d2ac1b0 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
Adam David
5a0722857d typo 1996-11-03 12:25:21 +00:00
Paul Traina
7903651566 Fix a YTK bug. 1996-10-20 17:55:36 +00:00
Wolfram Schneider
e83201b43a delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
Bruce Evans
5b963fa12e Fixed DPADD. 1996-09-05 17:16:10 +00:00
Adam David
587a9ccb56 typo 1996-09-05 11:18:27 +00:00
Peter Wemm
53a25106cd Use a variable to prevent multiple inclusion from duplicating CFLAGS args. 1996-08-30 03:03:21 +00:00
Poul-Henning Kamp
4b7d97414e Make broadcast clients work. 1996-08-06 11:32:25 +00:00
Jordan K. Hubbard
cd9a2f5c28 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
Thomas Gellekum
c18a55ebaa Second attempt to correct the leap year handling. 1996-01-09 07:59:54 +00:00
Jordan K. Hubbard
59f8632ddb Somebody stumbled over the :? here.. :-) 1996-01-09 07:41:52 +00:00
Thomas Gellekum
a8611821d7 Fix leap year calculations in parse_to_unixtime() 1996-01-08 08:45:11 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Bruce Evans
4ca7e8ae71 Fixed the type of a signal handler. 1995-12-07 14:47:36 +00:00
Bruce Evans
f781e76a9a Moved a test for HAVE_GETBOOTFILE to after the #include of the
configuration header that may define it.  Fixed the resulting
warnings.
1995-12-07 14:46:07 +00:00
Bruce Evans
df4b6087db Added missing data to a struct initializer by copying it from similar
initializers.  This may not be correct, but the initializer shouldn't
have compiled before.
1995-12-07 14:41:22 +00:00
Andreas Schulz
758f725332 Correct the manpage for the -o flag. Formerly it was a single flag, now
it requires a version number for the flag. Also correct the manpage to
tell the user ntpdate now uses version 3 as default.
1995-09-03 20:09:00 +00:00
Jordan K. Hubbard
dd77c4bc54 Support for the Boeder DCF77 Receiver
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:04:07 +00:00
Andrey A. Chernov
dfb8a7e1eb Add missing ../ to secure path, close PR 615
Submitted by: gordon@sheaky.lonestar.org
1995-07-15 00:09:30 +00:00
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Bruce Evans
5c1bcbae24 Do what the previous log message claimed to do and don't enable DES if
the user doesn't have the secure sources.
1995-04-16 01:40:24 +00:00
Rodney W. Grimes
756097f16a Bring down the old version of Makefile from the Attic and replace with this
bmake version of Makefile to build and install dcfd.

Submitted by:	Vincenzo Capuano <VCAPUANO@vmprofs.esoc.esa.de>
1995-04-04 17:48:02 +00:00