view src/pathdef.sh @ 21000:3b29ac3394dc v8.2.1051

patch 8.2.1051: crash when changing a list while using reduce() on it Commit: https://github.com/vim/vim/commit/ca275a05d8b79f6a9101604fdede2373d0dea44e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 24 22:07:46 2020 +0200 patch 8.2.1051: crash when changing a list while using reduce() on it Problem: Crash when changing a list while using reduce() on it. Solution: Lock the list. (closes https://github.com/vim/vim/issues/6330)
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Jun 2020 22:15:04 +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: