summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_core/stringbuffer.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-12-23 06:55:41 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-12-23 07:20:37 +0800
commit49b1a6540f50675a4313fd1e3a88628b46dbe82d (patch)
tree13c24eda87c05428b475812a1fbc3f540a596288 /runtime/lua/vim/_core/stringbuffer.lua
parent471be48d5612fb41d523e05c7e2e7b6c523ed35a (diff)
vim-patch:9.1.2009: tests: "Xm4" test directory may not be deleted
Problem: tests: "Xm4" test directory may not be deleted Solution: Use "R" flag with mkdir() call to have the directory recursively deleted at the end of function Test_m4_format() (Muraoka Taro) Test_m4_format in test_filetype.vim creates the "Xm4" directory with the 'D' flag. Then it creates two files in the "Xm4" directory. One of them, "alocal.m4," was created with the 'D' flag, so it will disappear after the test is complete. However, the other, "configure.ac," was created without any flags, so it will remain even after the test is complete. Because the parent directory "Xm4" was created with the 'D' flag, the latter "configure.ac" remains and is not empty, so it will not be deleted. This forces the directory to be deleted regardless of its contents. As a result, the two files "alocal.m4" and "configure.ac" created in the directory are no longer needed, so they have been deleted. closes: vim/vim#18995 https://github.com/vim/vim/commit/de37e7430a021f006d3fb5ce9d4ef3b6ee812161 Co-authored-by: Muraoka Taro <koron.kaoriya@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions