Mercurial > vim
view src/pathdef.sh @ 21979:a98211c3e14e v8.2.1539
patch 8.2.1539: using invalid script ID causes a crash
Commit: https://github.com/vim/vim/commit/e3d4685f1f716e0c516332101d85e0930f20fc59
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 29 13:39:17 2020 +0200
patch 8.2.1539: using invalid script ID causes a crash
Problem: Using invalid script ID causes a crash.
Solution: Check the script ID to be valid. (closes https://github.com/vim/vim/issues/6804)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 Aug 2020 13:45:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: