Commit Graph

34 Commits

Author SHA1 Message Date
ru
42350947e7 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
asmodai
4fc55cdfe7 Preceed/preceeding are not english words. Use precede and preceding.
Add $FreeBSD$.
2001-02-18 10:44:00 +00:00
ben
7ae2075697 Check that the hostname field in received packets is NUL-terminated. 2001-01-01 18:43:21 +00:00
ben
cf930fec79 * Fix a segfault when timed(8) receives a packet with a bad tsp_type.
* Check that received packets aren't too short, as this could cause other
  problems.

Reviewed by:	imp, markm
2000-12-28 19:50:07 +00:00
ru
522216623a Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
ru
9b9f68e879 Eliminate groff(1) warnings.
Obtained from:	NetBSD
2000-11-23 10:15:50 +00:00
ru
c3189e713e mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
ru
f9c7198049 Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
kris
4d7b0b58aa Remove duplicated ';' statement delimiters.
Obtained from:	BSD/OS
2000-05-19 08:26:17 +00:00
sheldonh
e932c06e41 Add a standard option list and make appropriate changes to the
body of the description.

This is based on a patch from Nick Sanders <fishy@hotbot.com>.

PR:		11978
2000-03-13 14:54:55 +00:00
shin
3073c3c103 Change type of vars which hold in_addr.s_addr from u_long to u_int32_t,
for more safety on alpha.

Approved by: jkh
2000-03-03 13:01:57 +00:00
peter
b6784c4210 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
nik
7effc709bc Add $Id$, to make it simpler for members of the translation teams to
track.

The Id line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;

     .\"    $Id$
     .\"

If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.

Approved by:            bde
1999-07-12 20:12:29 +00:00
obrien
7a3df171b6 Remove useless `BINOWN=root' now that it is the default. 1998-09-19 22:42:14 +00:00
bde
42426b4044 Don't assume that time_t is long. Fixed printf format errors. 1998-06-29 18:12:08 +00:00
bde
5ce7f7bbb5 Don't assume that time_t is long. 1998-06-29 18:09:59 +00:00
charnier
062497b471 Make all strings representing hostnames to be NUL-terminated within
MAXHOSTNAMELEN chars, like everywhere else in the system, so that strcpy()s
and printf()s won't fail.
1997-10-31 12:33:14 +00:00
charnier
1e9d333c54 Back out strcpy() -> strncpy() changes. According to Bruce, they are unneeded.
Check the return value of gethostname() like in timed. Make enough place to
NUL-terminate the result.
1997-10-29 07:35:27 +00:00
charnier
ca1da8dd66 Back out strcpy() -> strncpy() changes. According to bruce, they are unneeded. 1997-10-29 07:32:30 +00:00
charnier
12ee941b85 ntohl->htonl.
OKed by:	Bruce
1997-10-27 07:41:12 +00:00
charnier
8f143d3b1e Use err(3).
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
jlemon
575ba14dd7 Convert nets specified with -i/-n to network byte order.
PR:		3906, 3801
Submitted by:	Bob Willcox <bob@luke.pmr.com>, Hiroya Tsubakimoto
1997-08-21 19:53:04 +00:00
max
ea75dc558d Typo: .SH --> .Sh.
PR:		3683
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1997-05-25 19:11:26 +00:00
imp
15c4d207bc compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
wosch
00e37028d0 Sort cross references. 1997-01-20 00:03:00 +00:00
mpp
482f7c44ed Fix some formatting problems. Closed PR# 2377.
Pointed out by: David O'Brien
1997-01-08 06:42:27 +00:00
scrappy
e3e7d818d6 Fixes:
If timed is running when system clock is changed by date command,
improper wtmp entry is made.  According to wtmp(5), two entries, one
with "|" as ut_line field and one with "{" for ut_line, should be
recorded, but, one with "|" and one with "}" are made.

Closes: PR#bin/1182

Submitted by:	 Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
1996-10-22 05:13:42 +00:00
mpp
99996af085 Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
rgrimes
5a145b5eb1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
dg
94d194c4e9 Fully initialize (bzero) the stack-allocated "struct sockaddr_in server"
structure. Random junk on the stack would cause the call to bind to fail
in some cases (since the address portion wasn't initialized).
1995-05-15 09:56:49 +00:00
bde
fb796d5484 Apply an even number of ntohl's to icmp_otime. This fixes
`timedc clockdiff ...'.
1994-11-27 16:06:31 +00:00
wollman
f19a26b912 Get rid of update. Make man page installation work with our scheme
(and rename a few in the process).
1994-08-05 16:31:05 +00:00
rgrimes
c1493cd6fd Why cast a constant to (unsigned long) when you can make it this by
appending UL.
1994-05-28 06:38:34 +00:00
rgrimes
862fdf11a2 BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00