From 4e441aef5fd02eb946b79eeecb52e44265e96f34 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 18:44:42 +0000 Subject: Rename finance/ and ftp/ patch-xy patches to reflext the files they modify. --- ftp/ncftp1/files/patch-main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 ftp/ncftp1/files/patch-main.c (limited to 'ftp/ncftp1/files/patch-main.c') diff --git a/ftp/ncftp1/files/patch-main.c b/ftp/ncftp1/files/patch-main.c new file mode 100644 index 000000000000..05f6711e416e --- /dev/null +++ b/ftp/ncftp1/files/patch-main.c @@ -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 -- cgit v1.2.3