summaryrefslogtreecommitdiff
path: root/net/SSLtelnet
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>1999-09-19 07:21:53 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>1999-09-19 07:21:53 +0000
commit35da0acb4969fc53851b4903f8c39eac75d8291d (patch)
treeafe34673d84aef5630f29ba76933deed34dca72c /net/SSLtelnet
parentAdd 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-al26
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[];