Date: Mon, 02 Aug 1999 22:35:13 +0100 From: Brian Somers <brian@Awfulhak.org> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Dag-Erling Smorgrav <des@flood.ping.uio.no>, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, Sheldon Hearn <sheldonh@uunet.co.za>, hackers@FreeBSD.org, committers@FreeBSD.org Subject: Re: Mentioning RFC numbers in /etc/services Message-ID: <199908022135.WAA00661@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Mon, 02 Aug 1999 07:36:37 PDT." <199908021436.HAA12920@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <brian@Awfulhak.org> <brian@FreeBSD.org> <http://www.Awfulhak.org> <brian@OpenBSD.org> Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908022135.WAA00661>