view src/pathdef.sh @ 22178:6666ace75ef5 v8.2.1638

patch 8.2.1638: leaking memory when popup filter function can't be called Commit: https://github.com/vim/vim/commit/8e9be208ea58149c4e522166a6194da18a2eced7 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 8 22:55:26 2020 +0200 patch 8.2.1638: leaking memory when popup filter function can't be called Problem: Leaking memory when popup filter function can't be called. Solution: Don't return too soon.
author Bram Moolenaar <Bram@vim.org>
date Tue, 08 Sep 2020 23: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: