# HG changeset patch # User Bram Moolenaar # Date 1569618903 -7200 # Node ID 0f8a34c996eba5e62d7c8e0098deb3abe9109750 # Parent 2595b37984062dab58064b9f1a152230c3381cfa patch 8.1.2090: not clear why channel log file ends Commit: https://github.com/vim/vim/commit/2e47cab715669bd0c89762217cbf77bd70cd82ac Author: Bram Moolenaar Date: Fri Sep 27 23:12:45 2019 +0200 patch 8.1.2090: not clear why channel log file ends Problem: Not clear why channel log file ends. Solution: Add a "closing" line. diff --git a/src/channel.c b/src/channel.c --- 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 --- 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,