view src/pathdef.sh @ 22623:672ee41a6a3b v8.2.1860

patch 8.2.1860: Vim9: memory leak when throwing empty string Commit: https://github.com/vim/vim/commit/335e67132265b068f39f3671e5dff2aecd1bf403 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 17 22:58:21 2020 +0200 patch 8.2.1860: Vim9: memory leak when throwing empty string Problem: Vim9: memory leak when throwing empty string. Solution: Free the empty string.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Oct 2020 23:00:03 +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: