Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.0.1802: MS-Windows: terminal test fails
Problem:    MS-Windows: terminal test fails.
Solution:   Close redirected output file earlier.
  • Loading branch information
brammool committed May 6, 2018
1 parent f25329c commit 402c839
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/terminal.c
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1802,
/**/
1801,
/**/
Expand Down

0 comments on commit 402c839

Please sign in to comment.