view src/pathdef.sh @ 23251:8caba5736a9a

patch 8.2.2171: valgrind warning for using uninitialized value Commit: https://github.com/vim/vim/commit/61e07b2394e12f757160cac421ec5c45dc4c074d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 20 17:59:53 2020 +0100 patch 8.2.2171: valgrind warning for using uninitialized value Problem: Valgrind warning for using uninitialized value. Solution: Do not use "startp" or "endp" unless there is a match.
author Bram Moolenaar <Bram@vim.org>
date Sun, 20 Dec 2020 18:00:07 +0100
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: