view src/pathdef.sh @ 8611:f12689430f4b v7.4.1595

commit https://github.com/vim/vim/commit/c0a1d7f3ad4d41b64c6c881bb8ad7c201f8439a3 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 19 14:12:50 2016 +0100 patch 7.4.1595 Problem: Not checking for failed open(). (Coverity) Solution: Check file descriptor not being negative.
author Christian Brabandt <cb@256bit.org>
date Sat, 19 Mar 2016 14:15:05 +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: