Subject: Re: #ifdef CRAY in libexec/telnetd
To: None <tech-userlevel@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-userlevel
Date: 07/14/2003 04:49:59
In article <20030714015040.GA24222@bukharin.us.cray.com>,
Brian Ginsbach <ginsbach@cray.com> wrote:

Come on, lots of those ifdef's were workarounds for OS's that are not
alive anymore. It is not like our telnet will compile on cray or ultrix
these days. I'd say kill the ifdefs.

christos

>I'd say it don't do it! Isn't NetBSD supposed to be "highly portable"?
>Why can't this extend to commands/daemons? Personally I feel removing
>this stuff only marginally improves readiblity.  The code is somewhat
>unreadable regardless IMHO.
>
>I think the only vendor that has even come close to "keeping up"
>with telnetd is Cray (probably since Cray contributed its changes
>back to Berkeley and they were incorporated into the 4.4 sources).
>
>Why does NetBSD wish to be like FreeBSD and OpenBSD (which unifdefed
>telnet/telnetd long ago)?  It would be pretty tough to get telnetd
>from these releases to work correctly with other OSes (Solaris, IRIX,
>HPUX).
>
>Just my two cents.
>-- 
>Brian Ginsbach                          Cray Inc.