view src/pathdef.sh @ 24592:ae2eb2c496ed v8.2.2835

patch 8.2.2835: Vim9: leaking memory in :cexpr Commit: https://github.com/vim/vim/commit/dc3e2e65c9dddcace4b24f0f364883d7ce448efb Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 5 22:40:56 2021 +0200 patch 8.2.2835: Vim9: leaking memory in :cexpr Problem: Vim9: leaking memory in :cexpr. Solution: Also free the command line copy.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 May 2021 22:45: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: