Commit Graph

116 Commits

Author SHA1 Message Date
Alexey Zelkin
c6d6e7726f Correct spelling : ascii -> ASCII
PR:		docs/13702
Submitted by:	Stephen J. Roznowski <sjr@home.com>
Reviewed by:	mpp
1999-09-20 09:15:23 +00:00
Peter Wemm
e46b89dc93 Fix warning: return type of main' is not int' 1999-09-15 01:58:44 +00:00
Peter Wemm
3e8c41d84d Tidy $Log$ debris 1999-09-06 11:24:52 +00:00
Peter Wemm
5aab528c3c $Header$ cookies 1999-09-05 15:12:48 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Nick Hibma
0d68c4b07e Recognise the GPS receiver from Trimble
in NMEA mode (without date).

        Trimble OEM Ace-II receiver. Low cost PCB with single
        voltage input, external active antenna and two serial
        ports with either NMEA and ITAPs output. Programmable
        to be tuned for 'time' accuracy in fixed station config.

Author of tool notified.

Submitted by:	Dirk van Gulik <dirk.vangulik@jrc.it>
1999-08-23 14:49:22 +00:00
Matthew N. Dodd
6c7ed627ad MAXLINE not MAX_CMDLINE
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 17:40:33 +00:00
Matthew N. Dodd
061bab1a78 Fix some cut and paste damage.
Noticed by: Norman C. Rice <nrice@emu.sourcee.com>
1999-08-20 07:14:46 +00:00
Matthew N. Dodd
0b2d7c2ffc What the heck was I thinking? Nobody else saw this? Sheesh.
(num > MAX) ? MAX : num

rather than

(MAX > num) ? MAX : num

Also, make things a little easier to read while I'm here.
1999-08-20 01:24:35 +00:00
Matthew N. Dodd
43d79ae9ef Use el_source() so we pick up .editrc 1999-08-19 04:10:33 +00:00
Matthew N. Dodd
1950bb45f3 Add support for command line editing and history.
Remove src/contrib/bind/bin/nslookup/commands.c as it is generated by lex
from commands.l.

Submitted by: lpc/cdcontrol patches originally by msmith.
Reviewed by: msmith (in theory)
1999-08-19 03:29:15 +00:00
Chris Costello
f437b38cf7 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
Nik Clayton
5cb0ef41b5 Make the source and the man page agree about the flags accepted by
ntpdate.

PR:             docs/12344
Submitted by:   Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
Reviewed by:    nik
1999-07-05 23:06:33 +00:00
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