Mercurial > vim
view ci/if_ver-1.vim @ 28493:9f8563d05629 v8.2.4771
patch 8.2.4771: Coverity warns for not checking return value
Commit: https://github.com/vim/vim/commit/066e0d9869a16d89b1b2336b4150f476c5337283
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 17 13:17:40 2022 +0100
patch 8.2.4771: Coverity warns for not checking return value
Problem: Coverity warns for not checking return value.
Solution: Check return value of rettv_dict_alloc().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 17 Apr 2022 14:30:03 +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