annotate runtime/ftplugin/hostsaccess.vim @ 10906:7fc1df5536c9 v8.0.0342

patch 8.0.0342: double free with EXITFREE and setting 'ttytype' commit https://github.com/vim/vim/commit/673911457d6745b6b779eb769c2f41965592d12c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 19 21:07:04 2017 +0100 patch 8.0.0342: double free with EXITFREE and setting 'ttytype' Problem: Double free when compiled with EXITFREE and setting 'ttytype'. Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle, closes #1461)
author Christian Brabandt <cb@256bit.org>
date Sun, 19 Feb 2017 21:15:04 +0100
parents f4f8014d516e
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
1 " Vim filetype plugin file
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
2 " Language: hosts_access(5) control file
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
4 " Latest Revision: 2008-07-09
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
5
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
6 if exists("b:did_ftplugin")
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
7 finish
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
8 endif
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
9 let b:did_ftplugin = 1
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
10
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
11 let s:cpo_save = &cpo
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
12 set cpo&vim
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
13
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
14 let b:undo_ftplugin = "setl com< cms< fo<"
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
15
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
16 setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
17
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
18 let &cpo = s:cpo_save
f4f8014d516e updated for version 7.2c-000
vimboss
parents:
diff changeset
19 unlet s:cpo_save