view src/pathdef.sh @ 25267:c69ebc71bd85 v8.2.3170

patch 8.2.3170: Illegal memory access in test Commit: https://github.com/vim/vim/commit/d8cee76b498507c48706f651aeb78b93b5376d00 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jul 15 23:15:59 2021 +0200 patch 8.2.3170: Illegal memory access in test Problem: Illegal memory access in test. Solution: Check pointer is not before the start of the line.
author Bram Moolenaar <Bram@vim.org>
date Thu, 15 Jul 2021 23:30: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: