mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.0.1529: assert_equalfile() does not close file descriptors
Problem: Assert_equalfile() does not close file descriptors. (Coverity) Solution: Close the file descriptors.
This commit is contained in:
@@ -8889,6 +8889,8 @@ assert_equalfile(typval_T *argvars)
|
||||
}
|
||||
++count;
|
||||
}
|
||||
fclose(fd1);
|
||||
fclose(fd2);
|
||||
}
|
||||
}
|
||||
if (IObuff[0] != NUL)
|
||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1529,
|
||||
/**/
|
||||
1528,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user