]> granicus.if.org Git - vim/commit
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check v8.2.0403
authorBram Moolenaar <Bram@vim.org>
Thu, 19 Mar 2020 11:38:34 +0000 (12:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 19 Mar 2020 11:38:34 +0000 (12:38 +0100)
commita3a9c8ef697bbf6f640cde99710b6f534f29f77d
tree358717fb6832b9e8a8bb5f9710e63e994741ba21
parent30d53e2c11e670845830bdfc29bf8c1615df61a8
patch 8.2.0403: when 'buftype' is "nofile" there is no overwrite check

Problem:    When 'buftype' is "nofile" there is no overwrite check.
Solution:   Also check for existing file when 'buftype' is set.
            (closes #5807)
src/ex_cmds.c
src/testdir/test_options.vim
src/version.c