Mercurial > vim
view src/pathdef.sh @ 31073:df4957f0ccb5 v9.0.0871
patch 9.0.0871: using freed memory when clearing augroup at more prompt
Commit: https://github.com/vim/vim/commit/3b014befa006b7224a84d7d58d9603fc261f34cd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 13 17:53:46 2022 +0000
patch 9.0.0871: using freed memory when clearing augroup at more prompt
Problem: Using freed memory when clearing augroup at more prompt.
Solution: Delay clearing augroup until it's safe. (closes https://github.com/vim/vim/issues/11441)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Nov 2022 19:00:05 +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: