Mercurial > vim
view src/pathdef.sh @ 17356:4fe44a3b732f v8.1.1677
patch 8.1.1677: tests get stuck when running into an existing swapfile
commit https://github.com/vim/vim/commit/b073da8929ae0c03c403197197ed6b57f0f3d3be
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jul 13 14:47:26 2019 +0200
patch 8.1.1677: tests get stuck when running into an existing swapfile
Problem: Tests get stuck when running into an existing swapfile.
Solution: Set v:swapchoice to "q" and report an error. (Daniel Hahler,
closes #4644)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 13 Jul 2019 15:00:05 +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: