0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.1.2090: not clear why channel log file ends

Problem:    Not clear why channel log file ends.
Solution:   Add a "closing" line.
This commit is contained in:
Bram Moolenaar 2019-09-27 23:12:45 +02:00
parent 7b666c7883
commit 2e47cab715
2 changed files with 8 additions and 0 deletions

View File

@ -141,7 +141,13 @@ ch_logfile(char_u *fname, char_u *opt)
FILE *file = NULL;
if (log_fd != NULL)
{
if (*fname != NUL)
ch_log(NULL, "closing, opening %s", fname);
else
ch_log(NULL, "closing");
fclose(log_fd);
}
if (*fname != NUL)
{

View File

@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2090,
/**/
2089,
/**/