view ci/if_ver-1.vim @ 23829:950875545045 v8.2.2456

patch 8.2.2456: Coverity warning for strcpy() into fixed size array Commit: https://github.com/vim/vim/commit/7b6903f02c9eeb12cd85941ea0d352d84e4dab30 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 3 19:31:29 2021 +0100 patch 8.2.2456: Coverity warning for strcpy() into fixed size array Problem: Coverity warning for strcpy() into fixed size array. Solution: Add a type cast to hopefully silence the bogus warning.
author Bram Moolenaar <Bram@vim.org>
date Wed, 03 Feb 2021 19:45:04 +0100
parents 27ff44268da5
children 0878f0fd349b
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(_VERSION)

  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