Mercurial > vim
view ci/if_ver-1.vim @ 25688:c07b6c54146a v8.2.3380
patch 8.2.3380: crash when using NULL string for funcref()
Commit: https://github.com/vim/vim/commit/60b6e6f6cc60ac99253e1c13bd0cae4ef0e43201
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 28 12:49:27 2021 +0200
patch 8.2.3380: crash when using NULL string for funcref()
Problem: Crash when using NULL string for funcref().
Solution: Check for NULL argument. (issue https://github.com/vim/vim/issues/8260)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Aug 2021 13:00:04 +0200 |
parents | 0878f0fd349b |
children |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif