Mercurial > vim
view ci/if_ver-cmd.vim @ 23017:d80faed40bec v8.2.2055
patch 8.2.2055: MS-Windows: two Vim instances may use the same temp file
Commit: https://github.com/vim/vim/commit/2472a74be4dedfeaff22314f31cf9787618163d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 26 19:47:28 2020 +0100
patch 8.2.2055: MS-Windows: two Vim instances may use the same temp file
Problem: MS-Windows: two Vim instances may use the same temp file.
Solution: Use the process ID for the temp name. (Ken Takata, closes https://github.com/vim/vim/issues/7378)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 Nov 2020 20:00:06 +0100 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)