Patch 8.1.2090

11 views
Skip to first unread message

Bram Moolenaar

unread,
Sep 27, 2019, 5:13:24 PM9/27/19
to vim...@googlegroups.com

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 -- Br...@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 ///
Reply all
Reply to author
Forward
0 new messages