view ci/if_ver-cmd.vim @ 28495:f285dd00704e v8.2.4772

patch 8.2.4772: old Coverity warning for not checking ftell() return value Commit: https://github.com/vim/vim/commit/3df8f6e353eeaf24bb5fe3769ed07c03791bb58e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 17 14:01:51 2022 +0100 patch 8.2.4772: old Coverity warning for not checking ftell() return value Problem: Old Coverity warning for not checking ftell() return value. Solution: Check return value of fseek() and ftell().
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 15:15:03 +0200
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>)