view ci/if_ver-cmd.vim @ 32425:c0b3e3c7786c v9.0.1544

patch 9.0.1544: recent glibc marks sigset() as a deprecated Commit: https://github.com/vim/vim/commit/378447fc183b589039a5bf257923a86d439b0a91 Author: ichizok <gclient.gaap@gmail.com> Date: Thu May 11 22:25:42 2023 +0100 patch 9.0.1544: recent glibc marks sigset() as a deprecated Problem: Recent glibc marks sigset() as a deprecated. Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi, closes #12373)
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 May 2023 23:30:04 +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>)