Commit Graph

103 Commits

Author SHA1 Message Date
jkoshy
26ffdfcbcf Correct typo.
PR:		docs/11185
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-04-19 07:17:58 +00:00
danny
d7526586c0 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
danny
e3baab147a 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
142da85ef5 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
des
7d23d25095 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
des
8aeb1f4ecc 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
tegge
b4e3d223bf Don't allow longjmp into a no longer valid stack frame. 1998-09-10 02:01:06 +00:00
peter
526d5b8cd7 #include <arpa/inet.h> instead of rolling own prototype. 1998-06-12 14:58:03 +00:00
bde
f68c853da9 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
bde
f6fc75a961 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
bde
adad8e3b30 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
charnier
ac7a269d57 Convert to mdoc + typos. 1998-02-19 08:05:46 +00:00
charnier
da58dd2ba5 Add rcsid. Add usage() with up to date flag list. Use err(3). 1998-01-22 07:28:26 +00:00
charnier
ffa2a680a8 Convert to mdoc format. Document missing flags. 1998-01-22 07:26:08 +00:00
steve
eb66d0f94f 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
alex
cbab4c9147 YTK fix. 1997-12-22 23:00:35 +00:00
max
40c505b771 Typo fix.
PR:		4594
Submitted by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
max
2a05eabf01 Typo. 1997-09-19 16:04:19 +00:00
wosch
6508f8ef4b typo
PR:		docs/4523
Submitted by:	Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
ache
375b662530 Add LC_TIME=C to date 1997-06-30 10:59:25 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
phk
b98110843d Add the trickery to power the "Conrad" DCF77 receiver. 1997-01-18 08:43:21 +00:00
jkh
808a36ef65 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
bde
19daf6f8f5 Fixed DPADD (don't put -L in it). 1997-01-10 05:24:55 +00:00
imp
aee5955ac4 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
wollman
d3ecee07b3 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
c8eaf0b8b6 typo 1996-11-03 12:25:21 +00:00
pst
7fae940052 Fix a YTK bug. 1996-10-20 17:55:36 +00:00
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
adam
f2a35e5d56 typo 1996-09-05 11:18:27 +00:00
peter
14a33b0771 Use a variable to prevent multiple inclusion from duplicating CFLAGS args. 1996-08-30 03:03:21 +00:00
phk
8e6b5828cf Make broadcast clients work. 1996-08-06 11:32:25 +00:00
jkh
8eb37231d4 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
tg
c88d15f812 Second attempt to correct the leap year handling. 1996-01-09 07:59:54 +00:00
jkh
f2b0a5b11b Somebody stumbled over the :? here.. :-) 1996-01-09 07:41:52 +00:00
tg
3355d831f5 Fix leap year calculations in parse_to_unixtime() 1996-01-08 08:45:11 +00:00
peter
c3f352d4ad 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
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
bde
8cb83247b9 Fixed the type of a signal handler. 1995-12-07 14:47:36 +00:00
bde
0f15d0a9c3 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
bde
cfa8b15392 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
ats
a9ecce3895 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
jkh
7e7ec9acb6 Support for the Boeder DCF77 Receiver
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:04:07 +00:00
ache
4858336156 Add missing ../ to secure path, close PR 615
Submitted by: gordon@sheaky.lonestar.org
1995-07-15 00:09:30 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
bde
d711dde910 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
rgrimes
329838744c 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
jkh
2bffdfd11d Patches to make this work with FreeBSD with the DCF77 Boeder Receiver.
This is only useful to European users (esp. Germans) as DCF77 transmits
from Frankfurt.
Submitted by:	Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-03-31 07:01:11 +00:00
jkh
74c679e3d7 Missing const clashes with prototype definition in ntp_stdlib.h; fixed. 1995-03-31 02:30:15 +00:00