view src/pathdef.sh @ 24502:5baac0b4b41c v8.2.2791

patch 8.2.2791: Vim9: memory leak when using =expr in :substitute Commit: https://github.com/vim/vim/commit/5c787fb7928c4cc1e7d6eec0be1bbd63d903cc8d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 20 21:49:35 2021 +0200 patch 8.2.2791: Vim9: memory leak when using \=expr in :substitute Problem: Vim9: memory leak when using \=expr in :substitute. Solution: Do not allocate a new instruction list.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Apr 2021 22:00: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: