History log of /freebsd-10.1-release/usr.sbin/ypset/ypset.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 167128 28-Feb-2007 jmallett

Increase helpfulness in diagnostic message - ypbind running without -ypset or
-ypsetme will prevent use of ypset. Remind the user to check that it was
started correctly.


# 136620 17-Oct-2004 stefanf

Remove definition of struct dom_binding, it's non-standard C code and
unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10.


# 125613 08-Feb-2004 iedowse

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


# 116010 08-Jun-2003 imp

Include stdlib.h for exit()


# 114601 03-May-2003 obrien

Use __FBSDID over rcsid[]. Protect copyright[] where needed.


# 95658 28-Apr-2002 des

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


# 90298 06-Feb-2002 des

ANSIfy and remove some dead code.

Sponsored by: DARPA, NAI Labs


# 90297 06-Feb-2002 des

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


# 74347 16-Mar-2001 alfred

s/0x7f000001/INADDR_LOOPBACK


# 73263 01-Mar-2001 imp

optarg and optind are declared in unistd.h, so don't redundantly
declare them here.


# 72955 23-Feb-2001 wpaul

Fix typo that was causing a compiler warning.

Submitted by: Alfred Perlstein


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 30828 29-Oct-1997 charnier

Use err(3).


# 12862 15-Dec-1995 wpaul

More XDR routine cleanups. These three programs should be the only
ones that require this: the others call the yplib functions in libc.


# 8857 30-May-1995 rgrimes

Remove trailing whitespace.


# 1929 07-Aug-1994 wollman

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.)