Mercurial > vim
view src/gvimtutor @ 26161:9835f424bef5 v8.2.3612
patch 8.2.3612: using freed memory with regexp using a mark
Commit: https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 17 18:22:56 2021 +0000
patch 8.2.3612: using freed memory with regexp using a mark
Problem: Using freed memory with regexp using a mark.
Solution: Get the line again after getting the mark position.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 17 Nov 2021 19:30:04 +0100 |
parents | d4faa2c5211b |
children |
line wrap: on
line source
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec $(dirname $0)/vimtutor -g "$@"