Mercurial > vim
annotate src/testdir/unix.vim @ 17308:d04de6c49f59 v8.1.1653
patch 8.1.1653: ubsan warns for possibly passing NULL pointer
commit https://github.com/vim/vim/commit/0d07155c8bbaca1a527b79da358438253a60839f
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 8 22:04:03 2019 +0200
patch 8.1.1653: ubsan warns for possibly passing NULL pointer
Problem: Ubsan warns for possibly passing NULL pointer.
Solution: Skip code when length is zero. (Dominique Pelle, closes https://github.com/vim/vim/issues/4631)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 08 Jul 2019 22:15:04 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
rev | line source |
---|---|
7 | 1 " Settings for test script execution |
2 " Always use "sh", don't use the value of "$SHELL". | |
3 set shell=sh | |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 |
10791
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
5 " Only when the +eval feature is present. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
6 if 1 |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
7 " While some tests overwrite $HOME to prevent them from polluting user files, |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
8 " we need to remember the original value so that we can tell external systems |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
9 " where to ask about their own user settings. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
10 let g:tester_HOME = $HOME |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
11 endif |
10775
d08655e2633a
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
Christian Brabandt <cb@256bit.org>
parents:
9501
diff
changeset
|
12 |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
13 source setup.vim |