Subject: lib/1449: ypclnt(3) fixes
To: None <gnats-bugs@gnats.netbsd.org>
From: Luke Mewburn <lukem@supp.cpr.itg.telecom.com.au>
List: netbsd-bugs
Date: 09/11/1995 14:11:31
>Number: 1449
>Category: lib
>Synopsis: ypclnt(3) needs mlinks & a typo fixed
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 11 21:20:08 1995
>Last-Modified:
>Originator: Luke Mewburn
>Organization:
Werj
>Release: NetBSD-current 950908
>Environment:
>Description:
ypclnt(3) descripes a lot of functions. unfortunately, you
can't just do 'man yp_match' and get it to work.
there's also a minor typo
>How-To-Repeat:
man yp_next
>Fix:
apply this to lib/libc:
(note I haven't tested the mlinks line. the netbsd-pmax box I
whipped it up on doesn't have man page set (NOMAN=xxx in bsd.own.mk)
it should still work of course)
diff -cbr /usr/local/ftp/pub/NetBSD/NetBSD-current/src/lib/libc/yp/Makefile.inc yp/Makefile.inc
*** /usr/local/ftp/pub/NetBSD/NetBSD-current/src/lib/libc/yp/Makefile.inc Mon Mar 20 17:26:39 1995
--- yp/Makefile.inc Mon Sep 11 13:17:01 1995
***************
*** 5,7 ****
--- 5,12 ----
SRCS+= xdryp.c yplib.c
MAN+= ypclnt.3
+
+ MLINKS+=ypclnt.3 yp_all.3 ypclnt.3 yp_bind.3 ypclnt.3 yp_first.3 \
+ ypclnt.3 yp_get_default_domain.3 ypclnt.3 yp_master.3 \
+ ypclnt.3 yp_match.3 ypclnt.3 yp_next.3 ypclnt.3 yp_order.3 \
+ ypclnt.3 yp_unbind.3 ypclnt.3 yperr_string.3 ypclnt.3 ypprot_err.3
diff -cbr /usr/local/ftp/pub/NetBSD/NetBSD-current/src/lib/libc/yp/ypclnt.3 yp/ypclnt.3
*** /usr/local/ftp/pub/NetBSD/NetBSD-current/src/lib/libc/yp/ypclnt.3 Fri Aug 11 16:49:00 1995
--- yp/ypclnt.3 Mon Sep 11 14:04:32 1995
***************
*** 86,92 ****
.Pa in
and output values begin with
.Pa out .
! Any ouput values of type
.Em char **
should be the addresses of uninitialized character pointers. Memory will be
allocated by the YP client routines using
--- 86,92 ----
.Pa in
and output values begin with
.Pa out .
! Any output values of type
.Em char **
should be the addresses of uninitialized character pointers. Memory will be
allocated by the YP client routines using
>Audit-Trail:
>Unformatted: