]> granicus.if.org Git - vim/commitdiff
patch 8.1.2090: not clear why channel log file ends v8.1.2090
authorBram Moolenaar <Bram@vim.org>
Fri, 27 Sep 2019 21:12:45 +0000 (23:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 27 Sep 2019 21:12:45 +0000 (23:12 +0200)
Problem:    Not clear why channel log file ends.
Solution:   Add a "closing" line.

src/channel.c
src/version.c

index e42c9575f94bf17ecfe6f7e6fa81da9699ebd029..0ac9718762eccffa2780f1edd435b8d46a5e3bf4 100644 (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)
     {
index 552f82a7007dc226cdf366d4b7aafc0e1c17b70c..e595c7ab6ed361d0dfe1ab50f64e6b2a38604b93 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2090,
 /**/
     2089,
 /**/