]> granicus.if.org Git - vim/commit
patch 9.0.0379: cleaning up after writefile() is a hassle v9.0.0379
authorBram Moolenaar <Bram@vim.org>
Sun, 4 Sep 2022 14:40:36 +0000 (15:40 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Sep 2022 14:40:36 +0000 (15:40 +0100)
commit806a273f3c84ecd475913d901890bb1929be9a0a
tree7970b531379736fd2497f3a1acea0c400028db81
parentc1eb131c9eb38e00e08109f50e3e5337c072b71e
patch 9.0.0379: cleaning up after writefile() is a hassle

Problem:    Cleaning up after writefile() is a hassle.
Solution:   Add the 'D' flag to defer deleting the written file.  Very useful
            in tests.
runtime/doc/builtin.txt
src/filepath.c
src/proto/userfunc.pro
src/proto/vim9cmds.pro
src/proto/vim9execute.pro
src/testdir/test_writefile.vim
src/userfunc.c
src/version.c
src/vim9cmds.c
src/vim9execute.c
src/vim9expr.c