aboutsummaryrefslogtreecommitdiff
path: root/ftp/ncftp1
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-19 03:17:19 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-19 03:17:19 +0000
commitc2bf6b9d17be531c5fbf5629ccaf6e2edbbb358a (patch)
tree4414a249e032a22aec9e09b93dd6ac2818de1984 /ftp/ncftp1
parentd407202ca665f1fbbfd423b254f096bd9e2c61b9 (diff)
downloadports-c2bf6b9d17be531c5fbf5629ccaf6e2edbbb358a.tar.gz
ports-c2bf6b9d17be531c5fbf5629ccaf6e2edbbb358a.zip
Notes
Diffstat (limited to 'ftp/ncftp1')
-rw-r--r--ftp/ncftp1/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/ncftp1/files/patch-ab b/ftp/ncftp1/files/patch-ab
new file mode 100644
index 000000000000..05f6711e416e
--- /dev/null
+++ b/ftp/ncftp1/files/patch-ab
@@ -0,0 +1,11 @@
+--- main.c.orig Sun Oct 29 19:17:55 1995
++++ main.c Tue Feb 18 19:11:56 1997
+@@ -200,7 +200,7 @@
+ ansi_escapes = 0;
+ if ((cp = getenv("TERM")) != NULL) {
+ if ((*cp == 'v' && cp[1] == 't') /* vt100, vt102, ... */
+- || (strcmp(cp, "xterm") == 0))
++ || (strncmp(cp, "xterm", 5) == 0))
+ ansi_escapes = 1;
+ }
+ #endif