Mercurial > vim
view ci/if_ver-1.vim @ 26262:2484d6d96166 v8.2.3662
patch 8.2.3662: illegal memory access if malloc() fails
Commit: https://github.com/vim/vim/commit/cf1e0239ceec96396fa51f494e442c799ccd45fb
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 24 15:13:26 2021 +0000
patch 8.2.3662: illegal memory access if malloc() fails
Problem: Illegal memory access if malloc() fails.
Solution: Check 'foldmethod' is not empty. (closes https://github.com/vim/vim/issues/9207)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 24 Nov 2021 16:15:03 +0100 |
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