view src/pathdef.sh @ 26098:25b93e560a7c v8.2.3582

patch 8.2.3582: reading uninitialized memory when giving spell suggestions Commit: https://github.com/vim/vim/commit/15d9890eee53afc61eb0a03b878a19cb5672f732 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 4 15:46:05 2021 +0000 patch 8.2.3582: reading uninitialized memory when giving spell suggestions Problem: Reading uninitialized memory when giving spell suggestions. Solution: Check that preword is not empty.
author Bram Moolenaar <Bram@vim.org>
date Thu, 04 Nov 2021 17:00:07 +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: