commit | 75bdf6aa30a5c99d67c42886cf7a4a000bbaa422 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jan 07 21:25:08 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jan 07 21:25:08 2016 +0100 |
tree | e3e1a3fea418f892524eeec3cb0c2eaa31f5ad61 | |
parent | 2b7db933b0418f3964da5399047ce8998007874c [diff] [blame] |
patch 7.4.1058 Problem: It is not possible to test code that is only reached when memory allocation fails. Solution: Add the alloc_fail() function. Try it out with :vimgrep.
diff --git a/src/version.c b/src/version.c index b20ebd4..34df592 100644 --- a/src/version.c +++ b/src/version.c
@@ -742,6 +742,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1058, +/**/ 1057, /**/ 1056,