To: vim_dev@googlegroups.com Subject: Patch 8.1.2090 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2090 Problem: Not clear why channel log file ends. Solution: Add a "closing" line. Files: src/channel.c *** ../vim-8.1.2089/src/channel.c 2019-09-26 23:08:10.501926883 +0200 --- src/channel.c 2019-09-27 22:35:31.221122942 +0200 *************** *** 141,147 **** --- 141,153 ---- 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) { *** ../vim-8.1.2089/src/version.c 2019-09-27 21:24:57.292075512 +0200 --- src/version.c 2019-09-27 23:04:16.799398003 +0200 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 2090, /**/ -- Q: Is selling software the same as selling hardware? A: No, good hardware is sold new, good software has already been used by many. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///