Mercurial > vim
view src/proto/tag.pro @ 14097:db44cd9f8068 v8.1.0066
patch 8.1.0066: nasty autocommand causes using freed memory
commit https://github.com/vim/vim/commit/c3ffc9b8d3015dc5280b297b4e3deb4f34944bd4
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 17 17:32:58 2018 +0200
patch 8.1.0066: nasty autocommand causes using freed memory
Problem: Nasty autocommand causes using freed memory. (Dominique Pelle)
Solution: Do not force executing autocommands if the value of 'syntax' or
'filetype' did not change.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jun 2018 17:45:05 +0200 |
parents | d3415ec1cdaf |
children | c338c91086b9 |
line wrap: on
line source
/* tag.c */ int do_tag(char_u *tag, int type, int count, int forceit, int verbose); void tag_freematch(void); void do_tags(exarg_T *eap); int find_tags(char_u *pat, int *num_matches, char_u ***matchesp, int flags, int mincount, char_u *buf_ffname); void free_tag_stuff(void); int get_tagfname(tagname_T *tnp, int first, char_u *buf); void tagname_free(tagname_T *tnp); void simplify_filename(char_u *filename); int expand_tags(int tagnames, char_u *pat, int *num_file, char_u ***file); int get_tags(list_T *list, char_u *pat, char_u *buf_fname); /* vim: set ft=c : */