view src/pathdef.sh @ 24494:c1de90bc6e63 v8.2.2787

patch 8.2.2787: MS-Windows: crash when using :echoconsole Commit: https://github.com/vim/vim/commit/6d4c1c7ba816294408097d72717366a97781655d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 20 10:33:28 2021 +0200 patch 8.2.2787: MS-Windows: crash when using :echoconsole Problem: MS-Windows: crash when using :echoconsole. Solution: Do not write a NUL when it's already there.
author Bram Moolenaar <Bram@vim.org>
date Tue, 20 Apr 2021 10: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: