summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-27 23:12:45 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-27 23:12:45 +0200
commit2e47cab715669bd0c89762217cbf77bd70cd82ac (patch)
tree6335ef959011ee001155fe6e04a2337147a8cd75
parent7b666c7883c905a0e1428b8bfa7ba062af2656e7 (diff)
downloadvim-git-2e47cab715669bd0c89762217cbf77bd70cd82ac.tar.gz
patch 8.1.2090: not clear why channel log file endsv8.1.2090
Problem: Not clear why channel log file ends. Solution: Add a "closing" line.
-rw-r--r--src/channel.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/channel.c b/src/channel.c
index e42c9575f..0ac971876 100644
--- a/src/channel.c
+++ b/src/channel.c
@@ -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)
{
diff --git a/src/version.c b/src/version.c
index 552f82a70..e595c7ab6 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2090,
+/**/
2089,
/**/
2088,