Commit Graph

22 Commits

Author SHA1 Message Date
wiz 8e516dc8e7 Misc. fixes from jmc@openbsd. 2003-05-10 12:14:26 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz 28128e0592 New sentence, new line. From Robert Elz. 2002-10-01 19:03:15 +00:00
wiz 0822a37f3c heavily, not heaviliy. 2002-09-04 00:59:44 +00:00
ross 814f296b77 Generate <>& symbolically. 2002-02-07 07:00:09 +00:00
ross ee869b65aa s/-width Fn xx/-width xx/
The -width argument isn't parsed and can't have attached markup.
2002-02-06 12:49:05 +00:00
wiz ad13b93ba4 sort SEE ALSO, add .An. 2001-09-16 01:33:32 +00:00
wiz 6f7450c1be Whitespace fixes. 2001-04-09 12:09:11 +00:00
enami 8ab9946e10 Substitute the cross reference to portmap(8) with rpcbind(8). 2000-07-03 10:06:24 +00:00
hubertf 35c835cfe4 You also need <rpc/rpc.h> to compile yp programs.
Noted in PR 8919 by Tom Spindler <dogcow@redback.com>
1999-11-29 23:28:23 +00:00
perry 312aca536f add LIBRARY section to man page 1998-02-05 18:45:17 +00:00
lukem f5d4256de8 use .Tn YP instead of YP 1998-01-23 13:49:10 +00:00
jtc c8f77c0b8b Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:25:45 +00:00
jtc 990a11b9c6 Fix files using old TNF copyright notice 1997-07-30 23:53:32 +00:00
lukem 42736edb4d * implement _yp_invalid_domain, which returns non-zero if the given
domainname isn't RFC1035 compliant. Also ensure that the length <=
  YPMAXDOMAIN (which is less than what RFC1035 allows).
* use _yp_invalid_domain in the public front-ends, instead of using
  hand-rolled checks
* fix a typo
1997-07-07 02:00:30 +00:00
lukem db4fd8d56f Don't return allocated memory in an error condition in a char **outXXX argument
(set them to the null pointer instead).
Thus, code that doesn't specificallly attempt to clean up allocated
memory after an error result is returned from yp_...() won't have an
unexpected memory leak (i.e, most 3rd party code)
1997-05-21 06:55:25 +00:00
lukem 301e6e6c32 Some cleanups for [lib/3655]
* Ensure that all 'char **outXXX' pointers aren't the null pointer before use.
* Set *outXXX=NULL before checking any other arguments.
* Document that *outXXX will always be NULL or a malloc(3)ed string
  unless outXXX was NULL (in which case YPERR_BADARGS will be returned
  and the caller shouldn't attempt to free(*outXXX) if *outXXX != NULL;

These changes should prevent most occurances of coredumps when a bad
argument was given to a yp client function and the caller attempts to
free an outvalue that isn't the null pointer. To be really safe, the
caller probably should set the *outvalue=NULL anyway (ref: PR [lib/3580])
1997-05-20 15:25:38 +00:00
thorpej 0ffa7d7b3c Copyright assigned to The NetBSD Foundation. 1996-02-28 00:47:42 +00:00
thorpej 84b1a32da6 Fix typo pointed out by Luke Mewburn in PR 1449. Kill duplicate RCS id. 1995-09-12 19:33:03 +00:00
thorpej 110b961e86 Change a few bogus instances of ';' to the syntactically correct ','. 1995-08-11 01:10:21 +00:00
cgd 693e99f736 clean up Ids 1995-02-27 12:54:33 +00:00
deraadt ce0ad41a78 man page from Jason Thorpe 1994-10-28 23:03:02 +00:00