florian
06e34d5f4d
Replace inet_aton / gethostbyname with getaddrinfo.
...
test & OK jmatthew
2024-08-19 06:00:18 +00:00
tedu
2ebf24ed6c
rm a few more $Id which cannot be useful
2019-01-17 06:18:27 +00:00
espie
58a577e134
remove redundant variable declarations in Makefiles, since those are
...
the default.
okay millert@
2017-07-09 21:23:18 +00:00
deraadt
d1a23ca2a7
Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvc
...
as needed.
ok miod guenther
2015-09-09 15:33:18 +00:00
deraadt
e9f70589b2
in getopt() blocks, stop incrementing flag variable which are supposed
...
to just be 0/1
ok miod florian
2015-02-08 23:40:34 +00:00
deraadt
b9fc9a728f
Replace <sys/param.h> with <limits.h> and other less dirty headers where
...
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
2015-01-16 06:39:28 +00:00
schwarze
27e959701b
obvious cases of missing .An;
...
found with the new mandoc(1) MANDOCERR_AN_MISSING warning;
no text changes
2014-09-08 01:27:54 +00:00
millert
8929f197a7
Include unistd.h as it is the standard location for getopt().
2013-11-15 22:20:04 +00:00
deraadt
043fbe51c1
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
...
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
2009-10-27 23:59:19 +00:00
sobrado
7a667db44b
typo.
2008-05-24 13:59:09 +00:00
jmc
9490d37cb6
convert to new .Dd format;
2007-05-31 19:19:00 +00:00
jmc
9d25673e70
tidy up synopsis and usage();
...
includes bits of a diff from Igor Sobrado and some help from otto
ok otto
2007-04-02 15:34:39 +00:00
jmc
a0fecb152d
put -t in the correct place; from Igor Sobrado
2007-03-29 11:03:54 +00:00
deraadt
1245f5160f
delete unused variable
2006-04-02 23:37:21 +00:00
deraadt
13d7d7695b
#ifdef lint not LINT
2006-04-02 01:49:18 +00:00
deraadt
4ff1b97dda
protos
2003-07-06 23:26:18 +00:00
deraadt
67fea82508
remove terms 3 and 4 of some of my licences
2003-06-02 04:00:16 +00:00
millert
597dd1afcc
Fix typos; from jmc with one fix by me
2003-01-16 18:28:10 +00:00
deraadt
f55e062dd8
spaces
2002-08-04 00:51:14 +00:00
deraadt
7bcc963dfd
ansi
2002-07-19 03:16:24 +00:00
deraadt
fc168eb66e
minor KNF
2002-06-02 06:42:28 +00:00
aaron
3746a81674
- Section shuffling: comply to the section ordering outlined in mdoc(7).
...
- Some .Nm trimming.
- .Sh AUTHOR -> .Sh AUTHORS
- Other miscellaneous fixes here and there.
2000-11-10 05:10:21 +00:00
aaron
f1ba34738e
Change all option list specifications to ".Bl -tag -width Ds". Most man
...
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.
2000-11-09 17:51:53 +00:00
aaron
43b6428b7b
Finish off cleanup usr.bin/ man pages.
2000-03-14 14:58:24 +00:00
aaron
2e0eb34f9e
- remove trailing white space
...
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/
1999-06-05 01:21:16 +00:00
maja
dfc6591222
New improved -h support. In this version ypwhich -m even works on machines
...
that isn't ypserver. Reported by Jeff Schneiter <jschneit@Adobe.COM>. -moj
1999-03-20 15:36:12 +00:00
deraadt
aa3f569831
remove -h feature until the code works on clients
1999-03-19 22:21:27 +00:00
aaron
11e35e6df1
usr.bin/ man page fixes, t-z
1998-10-30 00:24:38 +00:00
deraadt
9c3dc7138a
spelling
1998-06-05 00:47:41 +00:00
maja
21d66ad472
Added support for maplist from a specified host (-h <host>). -moj
1998-01-18 20:13:07 +00:00
deraadt
e189ddde44
$OpenBSD$
1997-09-21 11:34:32 +00:00
deraadt
825cc3492a
Wall
1997-07-21 19:12:46 +00:00
deraadt
d2605cb219
long != int error
1997-06-23 01:03:57 +00:00
gene
e2609ca89f
Do some beautification of this file (that theo didn't :P).
...
Also, print a better error message when the host you're checking isn't
ypbound. The previous error was cryptic and incomprehensible.
1997-04-22 02:55:42 +00:00
deraadt
231c769f65
indent
1997-04-22 01:49:16 +00:00
deraadt
883f4fab5a
do not need xdr_domainname proto
1996-06-05 23:56:00 +00:00
deraadt
bb16cdd377
teeny cleanup
1996-05-21 21:32:39 +00:00
deraadt
d8fcf3d244
use yp.h instead of yp_prot.h
1996-04-24 21:39:56 +00:00
deraadt
df930be708
initial import of NetBSD tree
1995-10-18 08:37:01 +00:00