Subject: Re: misc/535: Missing man page link from iruserok.3 to rcmd.3
To: None <ziff@houdini.eecs.umich.edu>
From: Rodney W Grimes <rgrimes@ref.tfs.com>
List: netbsd-bugs
Date: 10/27/1994 09:31:55
> 
> 
> >Number:         535
> >Category:       misc
> >Synopsis:       The link from iruserok.3 to rcmd.3 isn't being made.
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    gnats-admin (Misc Bug People)
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Wed Oct 26 22:35:03 1994
> >Originator:     Brian Moore
> >Organization:
> "University of Michigan - DCO"
> >Release:        NetBSD 1.0_Beta 10/18/94
> >Environment:
> 	Dell 486/ 33, NetBSD/i386 1.0_beta, i386
> System: NetBSD houdini.eecs.umich.edu 1.0 NetBSD 1.0 (HOUDINI) #0: Wed Oct 26 17:43:44 EDT 1994 root@houdini.eecs.umich.edu:/usr/src/sys/arch/i386/compile/HOUDINI i386
> 
> 
> >Description:
> 	While trying to figure out why rlogind wasn't working right for root,
> 	I noticed that man wouldn't come back with a man page for iruserok, but
> 	it would for ruserok.  Checking the lib/net directory's Makefile.inc
> 	file shows that the link to the rcmd man page just isn't getting 
> 	created.
> >How-To-Repeat:
> 	Do a 'man iruserok' and notihing will come back, where a 'man ruserok'
> 	will.
> >Fix:
> 	Here's the patch:
> 
> --- Makefile.inc.orig   Fri Dec 17 01:24:47 1993
> +++ Makefile.inc        Thu Oct 27 00:59:38 1994
> @@ -47,7 +47,7 @@
>         inet.3 inet_makeaddr.3 inet.3 inet_netof.3 inet.3 inet_network.3 \
>         inet.3 inet_ntoa.3 inet.3 network.3 inet.3 ntoa.3
>  MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
> -MLINKS+=rcmd.3 rresvport.3 rcmd.3 ruserok.3
> +MLINKS+=rcmd.3 rresvport.3 rcmd.3 ruserok.3 iruserok.3
>  MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
>         resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \
>         resolver.3 res_search.3
> 
> >Audit-Trail:
> >Unformatted:

Here is the correct patch: [You left out the source of the link, and
failed to update the man page .Nm section :-(]

Index: Makefile.inc
===================================================================
RCS file: /home/ncvs/src/lib/libc/net/Makefile.inc,v
retrieving revision 1.4
diff -c -r1.4 Makefile.inc
*** 1.4	1994/09/25 17:45:36
--- Makefile.inc	1994/10/27 16:29:45
***************
*** 35,41 ****
  	inet.3 inet_ntoa.3 inet.3 network.3 inet.3 ntoa.3 inet.3 inet_aton.3
  MLINKS+=linkaddr.3 linkntoa.3
  MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
! MLINKS+=rcmd.3 rresvport.3 rcmd.3 ruserok.3
  MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
  	resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \
  	resolver.3 res_search.3
--- 35,41 ----
  	inet.3 inet_ntoa.3 inet.3 network.3 inet.3 ntoa.3 inet.3 inet_aton.3
  MLINKS+=linkaddr.3 linkntoa.3
  MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
! MLINKS+=rcmd.3 rresvport.3 rcmd.3 iruserok.3 rcmd.3 ruserok.3
  MLINKS+=resolver.3 dn_comp.3 resolver.3 dn_expand.3 resolver.3 res_init.3 \
  	resolver.3 res_mkquery.3 resolver.3 res_send.3 resolver.3 res_query.3 \
  	resolver.3 res_search.3
Index: rcmd.3
===================================================================
RCS file: /home/ncvs/src/lib/libc/net/rcmd.3,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 rcmd.3
*** 1.1.1.1	1994/05/27 04:57:12
--- rcmd.3	1994/10/27 16:30:04
***************
*** 37,42 ****
--- 37,43 ----
  .Sh NAME
  .Nm rcmd ,
  .Nm rresvport ,
+ .Nm iruserok ,
  .Nm ruserok
  .Nd routines for returning a stream to a remote command
  .Sh SYNOPSIS
> 
> 


-- 
Rod Grimes                                      rgrimes@gndrsh.aac.dev.com
Accurate Automation Company                   Custom computers for FreeBSD