iedowse
364ec93116
Fix a typo that stopped ypset's -h option from working with a
...
hostname rather than an IP. The code was copying the pointer to the
IP address instead of the IP address itself. The bug has existed
ever since ypset was first imported in 1994.
PR: bin/62550
Submitted by: aardvark@saintaardvarkthecarpeted.com
MFC after: 1 week
2004-02-09 00:10:18 +00:00
imp
1679883a3c
Include stdlib.h for exit()
2003-06-08 06:25:47 +00:00
obrien
7293a24a2b
Use __FBSDID over rcsid[]. Protect copyright[] where needed.
2003-05-03 21:06:42 +00:00
charnier
d2168fe021
The .Nm utility
2002-07-14 14:47:15 +00:00
des
e48f76df85
Spell void * as void * rather than caddr_t. This is complicated by the
...
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
des
d7b064e238
ANSIfy and remove some dead code.
...
Sponsored by: DARPA, NAI Labs
2002-02-06 15:26:07 +00:00
des
0f2cb9b020
Apply the following mechanical transformations in preparation for
...
ansification and constification:
s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g
Also add $FreeBSD$ where needed.
MFC after: 1 week
2002-02-06 13:30:31 +00:00
ru
7aa3bf6364
yp(4) -> yp(8).
...
PR: docs/30797
2002-01-14 16:59:03 +00:00
ru
afd506414e
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
ru
f10dc9aca1
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
alfred
9a03bad6f2
s/0x7f000001/INADDR_LOOPBACK
2001-03-16 13:10:26 +00:00
imp
d9aa3d164d
optarg and optind are declared in unistd.h, so don't redundantly
...
declare them here.
2001-03-01 06:20:51 +00:00
wpaul
256c4acb0b
Fix typo that was causing a compiler warning.
...
Submitted by: Alfred Perlstein
2001-02-23 20:04:20 +00:00
ru
71e2293ad4
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
peter
efabb9ccb1
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
charnier
6e321f37d4
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 08:31:20 +00:00
charnier
2d829ec20e
Use err(3).
1997-10-29 07:26:09 +00:00
peter
b782f4df30
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
wosch
3c5e4a3bbe
Sort cross references.
1997-01-20 00:03:00 +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
mpp
7c16f30f5b
Add a ypset(8) man page.
...
Obtained from: NetBSD
1996-02-12 05:28:30 +00:00
wpaul
44e05499de
More XDR routine cleanups. These three programs should be the only
...
ones that require this: the others call the yplib functions in libc.
1995-12-15 03:39:46 +00:00
rgrimes
4f960dd75f
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
wollman
fceaec9c2f
Added YP section 8 programs from 1.1.5. (Obligatory notice that this
...
code was originally written by Th. de Raadt, although this particular
organization is mine.)
1994-08-08 01:10:28 +00:00