summaryrefslogtreecommitdiffstats
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/0014-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch8
1 files changed, 0 insertions, 8 deletions
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. */