summaryrefslogtreecommitdiff
path: root/sysutils/screen/files/patch-ansi.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2022-03-17 10:54:50 -0700
committerCy Schubert <cy@FreeBSD.org>2022-03-17 16:44:10 -0700
commit9bdc788616889d0a2b3f9c8b8996610cdfe82be7 (patch)
treeaf3bd8afeca7a61f2d03a81f5f1baa1f5aa9019f /sysutils/screen/files/patch-ansi.c
parentwww/gitea: Update to 1.16.4 (diff)
sysutils/screen: Update to 4.9.0
Update screen to 4.9.0. From the release announcement: New in this release: * Hardstatus option for used encoding (escape string '%e') * Fixes: - fix combining char handling that could lead to a segfault - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030) - make screen exit code be 0 when checking --help - session names limit is 80 symbols (bug #61534) - option -X ignores specified user in multiuser env (bug #37437) - a lot of reformations/fixes/cleanups (man page and source code) For full list of changes see https://git.savannah.gnu.org/cgit/screen.git/log/?h=v.4.9.0 Note that CVE-2021-26937 was fixed in the FreeBSD port in 2021.
Diffstat (limited to 'sysutils/screen/files/patch-ansi.c')
-rw-r--r--sysutils/screen/files/patch-ansi.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/sysutils/screen/files/patch-ansi.c b/sysutils/screen/files/patch-ansi.c
deleted file mode 100644
index 74ed96c079cd..000000000000
--- a/sysutils/screen/files/patch-ansi.c
+++ /dev/null
@@ -1,24 +0,0 @@
---- ansi.c.orig 2020-02-05 12:09:38.000000000 -0800
-+++ ansi.c 2021-02-14 11:10:31.759160000 -0800
-@@ -692,10 +692,6 @@
- }
- curr->w_rend.font = 0;
- }
--# ifdef DW_CHARS
-- if (curr->w_encoding == UTF8 && utf8_isdouble(c))
-- curr->w_mbcs = 0xff;
--# endif
- if (curr->w_encoding == UTF8 && c >= 0x0300 && utf8_iscomb(c))
- {
- int ox, oy;
-@@ -730,6 +726,10 @@
- }
- break;
- }
-+# ifdef DW_CHARS
-+ if (curr->w_encoding == UTF8 && utf8_isdouble(c))
-+ curr->w_mbcs = 0xff;
-+# endif
- font = curr->w_rend.font;
- # endif
- # ifdef DW_CHARS