Mercurial > vim
view src/pathdef.sh @ 28903:6a7d94628b5a v8.2.4974
patch 8.2.4974: ":so" command may read after end of buffer
Commit: https://github.com/vim/vim/commit/4748c4bd64610cf943a431d215bb1aad51f8d0b4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 17 17:47:07 2022 +0100
patch 8.2.4974: ":so" command may read after end of buffer
Problem: ":so" command may read after end of buffer.
Solution: Compute length of text properly.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 17 May 2022 19:00:03 +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: