dil...@apollo.backplane.com said:
> :The correct way to do this is to fix getservbyname() so it accepts
> :port numbers. : :DES :--  :Dag-Erling Smorgrav - d...@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 <br...@awfulhak.org>                        <br...@freebsd.org>
      <http://www.Awfulhak.org>                   <br...@openbsd.org>
Don't _EVER_ lose your sense of humour !          <br...@freebsd.org.uk>




To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to