Mercurial > vim
view src/pathdef.sh @ 28881:3ddaf476a874 v8.2.4963
patch 8.2.4963: expanding path with "/**" may overrun end of buffer
Commit: https://github.com/vim/vim/commit/386c24cd262edac66a31add2fd989c96c4c2c952
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 16 12:37:36 2022 +0100
patch 8.2.4963: expanding path with "/**" may overrun end of buffer
Problem: Expanding path with "/**" may overrun end of buffer.
Solution: Use vim_snprintf().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 16 May 2022 13:45:02 +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: