view src/pathdef.sh @ 29647:d564107db756 v9.0.0164

patch 9.0.0164: using freed memory with put command Commit: https://github.com/vim/vim/commit/c390cc13e55b25d85a0684aa1becde881ef8ab19 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 7 18:09:10 2022 +0100 patch 9.0.0164: using freed memory with put command Problem: Using freed memory with put command. Solution: Get byte offset before replacing the line.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Aug 2022 19:15: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: