Mercurial > vim
view ci/if_ver-cmd.vim @ 26692:de714c98c9b8 v8.2.3875
patch 8.2.3875: gcc complains about buffer overrun
Commit: https://github.com/vim/vim/commit/b4168fd917e869912e0649fe13c10e5e6a595199
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Dec 22 20:29:09 2021 +0000
patch 8.2.3875: gcc complains about buffer overrun
Problem: gcc complains about buffer overrun.
Solution: Use mch_memmove() instead of STRCPY(). (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 22 Dec 2021 21:30:04 +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>)