summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-06 22:01:42 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-06 22:01:42 +0200
commit402c83921e4e7ac8e9b0631dbac845f32ec7245f (patch)
tree26b87b619c1699f3787c87adbeea7f178c4aa66d
parentf25329cb94e481999e8b08d886cc0f0169e2020c (diff)
downloadvim-git-402c83921e4e7ac8e9b0631dbac845f32ec7245f.tar.gz
patch 8.0.1802: MS-Windows: terminal test failsv8.0.1802
Problem: MS-Windows: terminal test fails. Solution: Close redirected output file earlier.
-rw-r--r--src/terminal.c7
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 47f7f201d..4dd666523 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -2700,6 +2700,13 @@ term_channel_closed(channel_T *ch)
VIM_CLEAR(term->tl_title);
VIM_CLEAR(term->tl_status_text);
+#ifdef WIN3264
+ if (term->tl_out_fd != NULL)
+ {
+ fclose(term->tl_out_fd);
+ term->tl_out_fd = NULL;
+ }
+#endif
/* Unless in Terminal-Normal mode: clear the vterm. */
if (!term->tl_normal_mode)
diff --git a/src/version.c b/src/version.c
index 70e4bcdca..20f3f2fa7 100644
--- a/src/version.c
+++ b/src/version.c
@@ -762,6 +762,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1802,
+/**/
1801,
/**/
1800,