forked from aniani/vim
patch 8.1.2090: not clear why channel log file ends
Problem: Not clear why channel log file ends. Solution: Add a "closing" line.
This commit is contained in:
@@ -141,7 +141,13 @@ ch_logfile(char_u *fname, char_u *opt)
|
|||||||
FILE *file = NULL;
|
FILE *file = NULL;
|
||||||
|
|
||||||
if (log_fd != NULL)
|
if (log_fd != NULL)
|
||||||
|
{
|
||||||
|
if (*fname != NUL)
|
||||||
|
ch_log(NULL, "closing, opening %s", fname);
|
||||||
|
else
|
||||||
|
ch_log(NULL, "closing");
|
||||||
fclose(log_fd);
|
fclose(log_fd);
|
||||||
|
}
|
||||||
|
|
||||||
if (*fname != NUL)
|
if (*fname != NUL)
|
||||||
{
|
{
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2090,
|
||||||
/**/
|
/**/
|
||||||
2089,
|
2089,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user