diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 1999-09-19 07:21:53 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 1999-09-19 07:21:53 +0000 |
commit | 35da0acb4969fc53851b4903f8c39eac75d8291d (patch) | |
tree | afe34673d84aef5630f29ba76933deed34dca72c /net/SSLtelnet | |
parent | Add another MASTER_SITE. (diff) |
Fix the coredump of setupterm().
Notes
Notes:
svn path=/head/; revision=21736
Diffstat (limited to 'net/SSLtelnet')
-rw-r--r-- | net/SSLtelnet/files/patch-al | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net/SSLtelnet/files/patch-al b/net/SSLtelnet/files/patch-al new file mode 100644 index 000000000000..c0e32618422a --- /dev/null +++ b/net/SSLtelnet/files/patch-al @@ -0,0 +1,26 @@ +--- telnet/telnet.c.orig Sun Sep 19 11:16:16 1999 ++++ telnet/telnet.c Sun Sep 19 11:16:33 1999 +@@ -752,23 +752,6 @@ + + #ifdef TERMCAP + char termbuf[1024]; +- +- /*ARGSUSED*/ +- int +-setupterm(tname, fd, errp) +- char *tname; +- int fd, *errp; +-{ +- if (tgetent(termbuf, tname) == 1) { +- termbuf[1023] = '\0'; +- if (errp) +- *errp = 1; +- return(0); +- } +- if (errp) +- *errp = 0; +- return(-1); +-} + #else + #define termbuf ttytype + extern char ttytype[]; |