diff options
author | Mark Murray <markm@FreeBSD.org> | 2001-08-29 14:16:17 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2001-08-29 14:16:17 +0000 |
commit | 6b022d0047da731dde4dfd64ef57b4de3d440bf9 (patch) | |
tree | 2704c88e81d43025eb2e9acbf5530ba5d0ec8f63 /libexec/telnetd/state.c | |
parent | 1643f03d5ffcd546a5ab371be686995141365d93 (diff) | |
download | src-6b022d0047da731dde4dfd64ef57b4de3d440bf9.tar.gz src-6b022d0047da731dde4dfd64ef57b4de3d440bf9.zip |
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
Notes
Notes:
svn path=/head/; revision=82497
Diffstat (limited to 'libexec/telnetd/state.c')
-rw-r--r-- | libexec/telnetd/state.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libexec/telnetd/state.c b/libexec/telnetd/state.c index 8b7a62d575d1..21dbacf7f88d 100644 --- a/libexec/telnetd/state.c +++ b/libexec/telnetd/state.c @@ -88,9 +88,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) @@ -349,21 +346,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 */ /* |