annotate src/testdir/test_insertcount.in @ 11506:7140ff4857eb v8.0.0636

patch 8.0.0636: when reading the undo file fails may use uninitialized data commit https://github.com/vim/vim/commit/56f2db562ddc6c69026d55360f0cfaacd8adc26a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 11 23:09:15 2017 +0200 patch 8.0.0636: when reading the undo file fails may use uninitialized data Problem: When reading the undo file fails may use uninitialized data. Solution: Always clear the buffer on failure.
author Christian Brabandt <cb@256bit.org>
date Sun, 11 Jun 2017 23:15:03 +0200
parents 975d96776111
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6098
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Tests for repeating insert and replace.
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 STARTTEST
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 :so small.vim
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :/Second
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 4gro
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :/^First/,$wq! test.out
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 :" get here when failed and in Insert mode
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 :.wq! test.out
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 ENDTEST
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 First line
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 Second line
975d96776111 updated for version 7.4.387
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 Last line