view src/pathdef.sh @ 29295:92dd6fef5ace v8.2.5164

patch 8.2.5164: invalid memory access after diff buffer manipulations Commit: https://github.com/vim/vim/commit/c101abff4c6756db4f5e740fde289decb9452efa Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 26 16:53:34 2022 +0100 patch 8.2.5164: invalid memory access after diff buffer manipulations Problem: Invalid memory access after diff buffer manipulations. Solution: Use zero offset when change removes all lines in a diff block.
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jun 2022 18:00:02 +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: