diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 18:44:42 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 18:44:42 +0000 |
commit | 4e441aef5fd02eb946b79eeecb52e44265e96f34 (patch) | |
tree | 72f168472fcd1a8841f16cebc135cf56e932377e /ftp/ncftp1/files/patch-main.c | |
parent | converters/ruby-iconv: Use standard check for Ruby 2.0 (diff) |
Rename finance/ and ftp/ patch-xy patches to reflext the files they modify.
Diffstat (limited to 'ftp/ncftp1/files/patch-main.c')
-rw-r--r-- | ftp/ncftp1/files/patch-main.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |