view src/pathdef.sh @ 29455:e1e99ef28040 v9.0.0069

patch 9.0.0069: leaking memory when using text prop with inserted text Commit: https://github.com/vim/vim/commit/0c740e745a5f8702fd87689615a9684664e40764 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 25 19:07:04 2022 +0100 patch 9.0.0069: leaking memory when using text prop with inserted text Problem: Leaking memory when using text prop with inserted text. Solution: Clear the growarray with text.
author Bram Moolenaar <Bram@vim.org>
date Mon, 25 Jul 2022 20: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: