view src/pathdef.sh @ 16535:be24441bf806 v8.1.1271

patch 8.1.1271: compiler warnings for use of STRNCPY() commit https://github.com/vim/vim/commit/b3de6c4a769986e6eb4e228519a6483d2999ad8f Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 5 13:02:28 2019 +0200 patch 8.1.1271: compiler warnings for use of STRNCPY() Problem: Compiler warnings for use of STRNCPY(). (John Marriott) Solution: Use mch_memmove() instead of STRNCPY().
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 May 2019 13:15:06 +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: