Mercurial > vim
view src/testdir/test17.ok @ 14161:7cac4646c552 v8.1.0098
patch 8.1.0098: segfault when pattern with z() is very slow
commit https://github.com/vim/vim/commit/bcf9442307075bac40d44328c8bf7ea21857b138
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 23 14:21:42 2018 +0200
patch 8.1.0098: segfault when pattern with \z() is very slow
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 23 Jun 2018 14:30:07 +0200 |
parents | 5569d11ef585 |
children |
line wrap: on
line source
This file is just to test "gf" in test 17. The contents is not important. Just testing! --- Included files in path --- Xdir1/dir2/foo.a Xdir1/dir2/foo.a --> Xdir1/dir2/bar.a Xdir1/dir2/bar.a --> Xdir1/dir2/baz.a Xdir1/dir2/baz.a --> "foo.a" (Already listed) --- Included files in path --- Xdir1/dir2/foo.b Xdir1/dir2/foo.b --> Xdir1/dir2/bar.b Xdir1/dir2/bar.b --> Xdir1/dir2/baz.b Xdir1/dir2/baz.b --> foo (Already listed) --- Included files in path --- Xdir1/dir2/foo.c Xdir1/dir2/foo.c --> Xdir1/dir2/bar.c Xdir1/dir2/bar.c --> Xdir1/dir2/baz.c Xdir1/dir2/baz.c --> foo.c (Already listed)