view src/pathdef.sh @ 26941:33120321ff2c v8.2.3999

patch 8.2.3999: redundant check for NUL byte Commit: https://github.com/vim/vim/commit/c024ed9233feac4c8da7394a62bb50474803514f Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Jan 4 16:22:52 2022 +0000 patch 8.2.3999: redundant check for NUL byte Problem: Redundant check for NUL byte. Solution: Remove the check for a NUL byte. (closes https://github.com/vim/vim/issues/9471)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Jan 2022 17:30:04 +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: