Mercurial > vim
annotate src/testdir/test94.ok @ 15721:e84eb23f4670 v8.1.0868
patch 8.1.0868: crash if triggering garbage collector after a function call
commit https://github.com/vim/vim/commit/889da2f2438c8168f9a25dc776360b81109bad44
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 2 14:02:30 2019 +0100
patch 8.1.0868: crash if triggering garbage collector after a function call
Problem: Crash if triggering garbage collector after a function call.
(Michael Henry)
Solution: Don't call the garbage collector right away, do it later.
(closes #3894)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 02 Feb 2019 14:15:12 +0100 |
parents | 0c1278704b5c |
children |
rev | line source |
---|---|
4274 | 1 a y |
2 | |
3 newline | |
4 newline | |
5 | |
6 --------x | |
7 --------x | |
8 xxxx--------x | |
9 xxxx--------x | |
10 | |
11 NoNoberryach | |
12 --ago | |
13 | |
14 ----Z | |
15 WhavcreQhevnaZ | |
4346 | 16 LemonNewNewZ |
4274 | 17 |
18 zzz | |
19 ok | |
20 ok | |
6826 | 21 |
22 characterwise visual mode: replace last line | |
23 x | |
24 --- | |
25 v:errmsg= | |
26 | |
27 characterwise visual mode: delete middle line | |
28 b | |
29 c | |
30 --- | |
31 | |
32 characterwise visual mode: delete middle two line | |
33 c | |
34 --- | |
35 | |
36 characterwise visual mode: delete last line | |
37 a | |
38 b | |
39 | |
40 --- | |
41 | |
42 characterwise visual mode: delete last two line | |
43 a | |
44 | |
45 --- | |
46 | |
47 characterwise select mode: delete middle line | |
48 b | |
49 c | |
50 --- | |
51 | |
52 characterwise select mode: delete middle two line | |
53 c | |
54 --- | |
55 | |
56 characterwise select mode: delete last line | |
57 a | |
58 b | |
59 | |
60 --- | |
61 | |
62 characterwise select mode: delete last two line | |
63 a | |
64 | |
65 --- | |
66 | |
67 linewise select mode: delete middle line | |
68 b | |
69 c | |
70 --- | |
71 | |
72 linewise select mode: delete middle two line | |
73 c | |
74 --- | |
75 | |
76 linewise select mode: delete last line | |
77 a | |
78 b | |
79 --- | |
80 | |
81 linewise select mode: delete last two line | |
82 a | |
83 --- | |
6845 | 84 |
85 v_p: replace last character with line register at middle line | |
86 aaa | |
87 bb | |
88 aaa | |
89 | |
90 ccc | |
91 --- | |
92 | |
93 v_p: replace last character with line register at middle line selecting newline | |
94 aaa | |
95 bb | |
96 aaa | |
97 ccc | |
98 --- | |
99 | |
100 v_p: replace last character with line register at last line | |
101 aaa | |
102 bbb | |
103 cc | |
104 aaa | |
105 | |
106 --- | |
107 | |
108 v_p: replace last character with line register at last line selecting newline | |
109 aaa | |
110 bbb | |
111 cc | |
112 aaa | |
113 | |
114 --- | |
7241
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
115 |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
116 gv in exclusive select mode after operation |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
117 zzz |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
118 xxx |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
119 --- |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
120 |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
121 gv in exclusive select mode without operation |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
122 xxx |
0c1278704b5c
commit https://github.com/vim/vim/commit/d29c6fea94947b3f4b54fbd5a6f832a7d744bf27
Christian Brabandt <cb@256bit.org>
parents:
6845
diff
changeset
|
123 --- |