Mercurial > vim
annotate runtime/compiler/xbuild.vim @ 20158:94f05de75e9f v8.2.0634
patch 8.2.0634: crash with null partial and blob
Commit: https://github.com/vim/vim/commit/92b83ccfda7a1d654ccaaf161a9c8a8e01fbcf76
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 25 15:24:44 2020 +0200
patch 8.2.0634: crash with null partial and blob
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 25 Apr 2020 15:30:04 +0200 |
parents | eb6ab7e78925 |
children | e1df51f68736 |
rev | line source |
---|---|
4437 | 1 " Vim compiler file |
2 " Compiler: Mono C# | |
3 " Maintainer: Chiel ten Brinke (ctje92@gmail.com) | |
4 " Last Change: 2013 May 13 | |
5 | |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 | |
10 let current_compiler = "xbuild" | |
11 let s:keepcpo= &cpo | |
12 set cpo&vim | |
13 | |
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
15 command -nargs=* CompilerSet setlocal <args> | |
16 endif | |
17 | |
18 CompilerSet errorformat=\ %#%f(%l\\\,%c):\ %m | |
19 CompilerSet makeprg=xbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true | |
20 | |
21 let &cpo = s:keepcpo | |
22 unlet s:keepcpo |