summaryrefslogtreecommitdiffstats
path: root/contrib/telnet/telnetd/state.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-29 14:16:17 +0000
committermarkm <markm@FreeBSD.org>2001-08-29 14:16:17 +0000
commit5987cca2b86151d430e62288a0608ec25c84c045 (patch)
tree2704c88e81d43025eb2e9acbf5530ba5d0ec8f63 /contrib/telnet/telnetd/state.c
parent92c57599167493c3bef125d0aa3416a4f3abf082 (diff)
downloadFreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.zip
FreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.tar.gz
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
Diffstat (limited to 'contrib/telnet/telnetd/state.c')
-rw-r--r--contrib/telnet/telnetd/state.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/telnet/telnetd/state.c b/contrib/telnet/telnetd/state.c
index 6d7ca94..57ade2f 100644
--- a/contrib/telnet/telnetd/state.c
+++ b/contrib/telnet/telnetd/state.c
@@ -94,9 +94,6 @@ telrcv()
{
register int c;
static int state = TS_DATA;
-#if defined(CRAY2) && defined(UNICOS5)
- char *opfrontp = pfrontp;
-#endif
while (ncc > 0) {
if ((&ptyobuf[BUFSIZ] - pfrontp) < 2)
@@ -367,21 +364,6 @@ gotiac: switch (c) {
exit(1);
}
}
-#if defined(CRAY2) && defined(UNICOS5)
- if (!linemode) {
- char xptyobuf[BUFSIZ+NETSLOP];
- char xbuf2[BUFSIZ];
- register char *cp;
- int n = pfrontp - opfrontp, oc;
- memmove(xptyobuf, opfrontp, n);
- pfrontp = opfrontp;
- pfrontp += term_input(xptyobuf, pfrontp, n, BUFSIZ+NETSLOP,
- xbuf2, &oc, BUFSIZ);
- for (cp = xbuf2; oc > 0; --oc)
- if ((*nfrontp++ = *cp++) == IAC)
- *nfrontp++ = IAC;
- }
-#endif /* defined(CRAY2) && defined(UNICOS5) */
} /* end of telrcv */
/*
OpenPOWER on IntegriCloud