From ef27840d078559dc74ad83b8a670a81fb79138cf Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 07 Apr 2019 20:11:46 -0400 Subject: patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch: Drop failed hunk This is based on removed patches and won't affect the build. --- diff --git a/patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch b/patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch index eeb9aab..6b0606a 100644 --- a/patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch +++ b/patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch @@ -55,14 +55,6 @@ diff --git a/src/pch.c b/src/pch.c index 79a3c99..1bb3153 100644 --- a/src/pch.c +++ b/src/pch.c -@@ -2396,7 +2396,6 @@ do_ed_script (char const *inname, char const *outname, - file_offset beginning_of_this_line; - size_t chars_read; - FILE *tmpfp = 0; -- char const *tmpname; - int tmpfd = -1; /* placate gcc's -Wmaybe-uninitialized */ - int exclusive = *outname_needs_removal ? 0 : O_EXCL; - char const **ed_argv; @@ -2411,12 +2410,13 @@ do_ed_script (char const *inname, char const *outname, invalid commands and treats the next line as a new command, which can lead to arbitrary command execution. */ -- cgit v0.9.1