Subject: lib/2472: link_* manpages misnamed
To: None <gnats-bugs@NetBSD.ORG>
From: John Hawkinson <jhawk@mit.edu>
List: netbsd-bugs
Date: 05/26/1996 17:24:53
>Number:         2472
>Category:       lib
>Synopsis:       link_* manpages misnamed
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 17:35:03 1996
>Last-Modified:
>Originator:     John Hawkinson
>Organization:
	MIT SIPB
>Release:        26 May 1996
>Environment:
	
System: NetBSD zorkmid.mit.edu 1.1B NetBSD 1.1B (ZORKMID) #25: Sat May 25 03:27:32 EDT 1996 root@:/u1/usr/src/sys/arch/i386/compile/ZORKMID i386
(jhawk@zorkmit.mit.edu)


>Description:
	The manpage describing the functions link_addr and link_ntoa
	is named "linkaddr.3" but the functions have an underscore.
>How-To-Repeat:
	Attempt to run man on the output of "apropos link".
	(Perhaps it would be useful to have a whatis database /
	man page consistancy checker?)
>Fix:
	Rename src/lib/libc/net/linkaddr.[3c] to link_addr.[3c] and
	update the Makefile as below.

	Note that it might be a good idea to make link_ntoa et al
	consistent with ether_ntoa et al, and so move them to
	links(3) or something...

*** Makefile.inc	Sat Mar 30 07:30:16 1996
--- /tmp/M	Sun May 26 17:22:56 1996
***************
*** 9,13 ****
  	getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c \
  	inet_makeaddr.c inet_netof.c inet_network.c inet_ntoa.c \
! 	iso_addr.c linkaddr.c ns_addr.c ns_ntoa.c nsap_addr.c rcmd.c recv.c \
  	res_comp.c res_debug.c res_init.c res_mkquery.c res_query.c \
  	res_send.c send.c sethostent.c ethers.c
--- 9,13 ----
  	getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c \
  	inet_makeaddr.c inet_netof.c inet_network.c inet_ntoa.c \
! 	iso_addr.c link_addr.c ns_addr.c ns_ntoa.c nsap_addr.c rcmd.c recv.c \
  	res_comp.c res_debug.c res_init.c res_mkquery.c res_query.c \
  	res_send.c send.c sethostent.c ethers.c
***************
*** 20,24 ****
  
  MAN+=	byteorder.3 gethostbyname.3 getnetent.3 getprotoent.3 getservent.3 \
! 	inet.3 linkaddr.3 ns.3 rcmd.3 resolver.3 ethers.3
  
  MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \
--- 20,24 ----
  
  MAN+=	byteorder.3 gethostbyname.3 getnetent.3 getprotoent.3 getservent.3 \
! 	inet.3 link_addr.3 ns.3 rcmd.3 resolver.3 ethers.3
  
  MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \
***************
*** 39,43 ****
  	inet.3 inet_network.3 inet.3 inet_ntoa.3 inet.3 network.3 \
  	inet.3 ntoa.3
! MLINKS+=linkaddr.3 linkntoa.3
  MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
  MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3
--- 39,43 ----
  	inet.3 inet_network.3 inet.3 inet_ntoa.3 inet.3 network.3 \
  	inet.3 ntoa.3
! MLINKS+=link_addr.3 link_ntoa.3
  MLINKS+=ns.3 ns_addr.3 ns.3 ns_ntoa.3
  MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3
>Audit-Trail:
>Unformatted: