1
0
forked from aniani/vim

patch 9.0.0261: bufload() reads a file even if the name is not a file name

Problem:    bufload() reads a file even if the name is not a file name. (Cyker
            Way)
Solution:   Do not read the file when the buffer name is not a file name.
            (closes #10975)
This commit is contained in:
Bram Moolenaar
2022-08-25 12:45:21 +01:00
parent d6c67629ed
commit 2eddbacd6d
4 changed files with 16 additions and 2 deletions

View File

@@ -731,6 +731,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
261,
/**/
260,
/**/