view src/pathdef.sh @ 12216:e971ef6c0dee v8.0.0988

patch 8.0.0988: warning from Covscan about using NULL pointer commit https://github.com/vim/vim/commit/829aa64cf5a113bb683ddf8b32e483e0696602ea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 23 22:32:35 2017 +0200 patch 8.0.0988: warning from Covscan about using NULL pointer Problem: Warning from Covscan about using NULL pointer. Solution: Add extra check for NULL. (zdohnal)
author Christian Brabandt <cb@256bit.org>
date Wed, 23 Aug 2017 22:45: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: