From owner-freebsd-hackers Thu Jun 19 01:41:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA16694 for hackers-outgoing; Thu, 19 Jun 1997 01:41:05 -0700 (PDT) Received: from coconut.blueberry.co.uk ([194.70.52.66]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA16688 for ; Thu, 19 Jun 1997 01:41:00 -0700 (PDT) Received: (from nik@localhost) by coconut.blueberry.co.uk (8.8.5/8.8.5) id JAA19475; Thu, 19 Jun 1997 09:27:18 +0100 (BST) Message-ID: <19970619092718.07152@blueberry.co.uk> Date: Thu, 19 Jun 1997 09:27:18 +0100 From: Nik Clayton To: hackers@freebsd.org Subject: 2.1.7: YP/NIS and getservent()/getprotoent() functions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.69e Organization: Blueberry New Media Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, [ Originally sent to -questions, no response, so trying -hackers ] The yp(4) manual page on my 2.1.7 system includes (under "BUGS") The getservent(3) and getprotoent(3) functions do not yet have NIS sup- port. Fortunately, these files don't need to be updated that often. Is this still true? A quick eyeball through the source in /usr/src/lib/libc/net/getservent.c shows what look like appropriate YP functions, and quick tests with my /etc/services file seem to show that the '+' token in /etc/services *is* recognised and acted upon. If someone more knowledgable than me could confirm this is the case, I'll submit patches to the appropriate documentation (since it looks like -current, based on ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/share/man/man4/yp.4 has the same wrong information). N -- --+=[ Blueberry Hill Blueberry New Media ]=+-- --+=[ http://www.blueberry.co.uk/ 1/9 Chelsea Harbour Design Centre, ]=+-- --+=[ WebMaster@blueberry.co.uk London, England, SW10 0XE ]=+-- --+=[ Contributing to the heat death of the Universe since 1973 ]=+--