From owner-freebsd-hackers Mon Aug 2 14:44:40 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from awfulhak.org (dynamic-4.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.4]) by hub.freebsd.org (Postfix) with ESMTP id 9FC3F14C46; Mon, 2 Aug 1999 14:44:25 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA00411; Mon, 2 Aug 1999 22:34:04 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id WAA00661; Mon, 2 Aug 1999 22:35:13 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199908022135.WAA00661@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Matthew Dillon Cc: Dag-Erling Smorgrav , John-Mark Gurney , Sheldon Hearn , hackers@FreeBSD.org, committers@FreeBSD.org Subject: Re: Mentioning RFC numbers in /etc/services In-reply-to: Your message of "Mon, 02 Aug 1999 07:36:37 PDT." <199908021436.HAA12920@apollo.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 02 Aug 1999 22:35:13 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG dillon@apollo.backplane.com said: > :The correct way to do this is to fix getservbyname() so it accepts > :port numbers. : :DES :-- :Dag-Erling Smorgrav - des@flood.ping.uio.no > > > If we were to depend on this, it would break code compatibility with > other UNIXes for no good reason. For example, someone porting inetd > from FreeBSD to something else would not get a compatible result without > undoing the 'fix'. > > 'Fixing' getservbyname() is a really bad idea. I agree - unless all the BSDs agree, changing this sort of thing is just going to disfavour FreeBSD as a development platform. I've been stung with things like pipe() for exactly the same reasons. IMHO, pipe() should *not* behave like socketpair() as it encourages FreeBSD developers to write bad code :-( -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message