annotate runtime/ftplugin/automake.vim @ 21072:42e2fb7ec6e1

patch 8.2.1087: possible memory leak when file expansion fails Commit: https://github.com/vim/vim/commit/566cc8c72bb8036f015a435800f28ef9f6a9a3b6 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 29 21:14:51 2020 +0200 patch 8.2.1087: possible memory leak when file expansion fails Problem: Possible memory leak when file expansion fails. Solution: Clear the grow array when returning FAIL. Use an error message instead of an empty string.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 Jun 2020 21:15:03 +0200
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
2 " Language: Automake
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 1698
diff changeset
4 " Latest Revision: 2008-07-09
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
6 if exists("b:did_ftplugin")
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents: 7
diff changeset
9
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
10 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
11 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
12
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 runtime! ftplugin/make.vim ftplugin/make_*.vim ftplugin/make/*.vim
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
14
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
15 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 839
diff changeset
16 unlet s:cpo_save