view src/pathdef.sh @ 15806:6a4e9d9f1d66 v8.1.0910

patch 8.1.0910: crash with tricky search pattern commit https://github.com/vim/vim/commit/15bbd6ec871a0efdd16256e1fccbaac0fd374cbd Author: Bram Moolenaar <Bram@vim.org> Date: Wed Feb 13 20:31:50 2019 +0100 patch 8.1.0910: crash with tricky search pattern Problem: Crash with tricky search pattern. (Kuang-che Wu) Solution: Check for runnning out of memory. (closes https://github.com/vim/vim/issues/3950)
author Bram Moolenaar <Bram@vim.org>
date Wed, 13 Feb 2019 20:45:07 +0100
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: