danny
c98cf2061d
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
34a90c5f57
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
e6910072fc
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
44dd1d06d4
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
6f3812878d
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
fdd7af2b36
Don't allow longjmp into a no longer valid stack frame.
1998-09-10 02:01:06 +00:00
peter
fd9b676b56
#include <arpa/inet.h> instead of rolling own prototype.
1998-06-12 14:58:03 +00:00
bde
4a18c3dd9c
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
3d536b3898
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
5eb504656a
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
2831e74ecb
Convert to mdoc + typos.
1998-02-19 08:05:46 +00:00
charnier
cb06b6ab9c
Add rcsid. Add usage() with up to date flag list. Use err(3).
1998-01-22 07:28:26 +00:00
charnier
6d9d7599b8
Convert to mdoc format. Document missing flags.
1998-01-22 07:26:08 +00:00
steve
031fb7a243
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
fa7e5c62c3
YTK fix.
1997-12-22 23:00:35 +00:00
max
9bf19cf654
Typo fix.
...
PR: 4594
Submitted by: Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-09-22 10:12:47 +00:00
max
c19f6cc37e
Typo.
1997-09-19 16:04:19 +00:00
wosch
71c4c006ca
typo
...
PR: docs/4523
Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-09-13 15:35:00 +00:00
ache
959eed0f42
Add LC_TIME=C to date
1997-06-30 10:59:25 +00:00
peter
32d6b795de
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
phk
4bfa9da8b7
Add the trickery to power the "Conrad" DCF77 receiver.
1997-01-18 08:43:21 +00:00
jkh
9c0cd3f9df
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
8cd697a503
Fixed DPADD (don't put -L in it).
1997-01-10 05:24:55 +00:00
imp
ad6d2ab55c
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
e518804de3
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
5ac663f5ec
typo
1996-11-03 12:25:21 +00:00
pst
0f1731032c
Fix a YTK bug.
1996-10-20 17:55:36 +00:00
wosch
0afb8360fb
delete doubled words, e.g.: "the the" -> "the"
1996-10-05 22:27:30 +00:00
bde
218243765f
Fixed DPADD.
1996-09-05 17:16:10 +00:00
adam
7cd20986d1
typo
1996-09-05 11:18:27 +00:00
peter
29182f01a8
Use a variable to prevent multiple inclusion from duplicating CFLAGS args.
1996-08-30 03:03:21 +00:00
phk
fce688d082
Make broadcast clients work.
1996-08-06 11:32:25 +00:00
jkh
e693c16dd8
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
32c9503b02
Second attempt to correct the leap year handling.
1996-01-09 07:59:54 +00:00
jkh
04d79a11b3
Somebody stumbled over the :? here.. :-)
1996-01-09 07:41:52 +00:00
tg
a511bb6cb8
Fix leap year calculations in parse_to_unixtime()
1996-01-08 08:45:11 +00:00
peter
6470cdf2a0
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
639da796bd
recording cvs-1.6 file death
1995-12-30 19:02:48 +00:00
bde
f5400d7f1f
Fixed the type of a signal handler.
1995-12-07 14:47:36 +00:00
bde
ecfb0304be
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
722ced8237
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
702f43e8c1
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
5adaac3d22
Support for the Boeder DCF77 Receiver
...
Submitted by: Vincenzo Capuano <VCAPUANO@VMPROFS.ESOC.ESA.DE>
1995-07-21 13:04:07 +00:00
ache
b96db2efd5
Add missing ../ to secure path, close PR 615
...
Submitted by: gordon@sheaky.lonestar.org
1995-07-15 00:09:30 +00:00
rgrimes
5a145b5eb1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
bde
7fdbbdef49
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
17c9e48138
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
ce3f01bc01
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
1a57be203d
Missing const clashes with prototype definition in ntp_stdlib.h; fixed.
1995-03-31 02:30:15 +00:00
wollman
5828c03139
Enable DES if NOCRYPT is not set and and the user has the secure sources.
1995-03-23 19:13:04 +00:00