Date: Mon, 2 Aug 1999 07:36:37 -0700 (PDT) From: Matthew Dillon <dillon@apollo.backplane.com> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: 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: <199908021436.HAA12920@apollo.backplane.com> References: <Pine.BSF.4.05.9907301505250.7396-100000@dt011n65.san.rr.com> <70382.933458817@axl.noc.iafrica.com> <19990731161854.11826@hydrogen.fircrest.net> <xzpu2qi30k2.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
:John-Mark Gurney <gurney_j@efn.org> writes:
:> Sheldon Hearn scribbled this message on Aug 1:
:> > Would you need these entries if inetd let you specify port numbers
:> > instead of service names?
:> I vote for allowing inetd.conf to specify a port number instead of a
:> service name... it should be very easy to make the modification, and
:> I'm willing to do all the work, assuming no one on -committers objects..
:
: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.
-Matt
Matthew Dillon
<dillon@backplane.com>
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?199908021436.HAA12920>
