[EMAIL PROTECTED] said:
> :The correct way to do this is to fix getservbyname() so it accepts
> :port numbers. : :DES :--  :Dag-Erling Smorgrav - [EMAIL PROTECTED]
> 
> 
>     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 <[EMAIL PROTECTED]>                        <[EMAIL PROTECTED]>
      <http://www.Awfulhak.org>                   <[EMAIL PROTECTED]>
Don't _EVER_ lose your sense of humour !          <[EMAIL PROTECTED]>




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to