annotate src/testdir/test77a.com @ 22256:c3c9830c7cdc v8.2.1677

patch 8.2.1677: memory access errors when calling setloclist() in autocommand Commit: https://github.com/vim/vim/commit/4d170af0a9379da64d67dc3fa7cc7297956c6f52 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 13 22:21:22 2020 +0200 patch 8.2.1677: memory access errors when calling setloclist() in autocommand Problem: Memory access errors when calling setloclist() in an autocommand. Solution: Give an error if the list was changed unexpectedly. (closes https://github.com/vim/vim/issues/6946)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Sep 2020 22:30:03 +0200
parents 47a673b20e49
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5704
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 $! test77a - help file creating checksum on VMS
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 $! Created by Zoltan Arpadffy
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 $
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 $ IF P1 .NES. ""
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 $ THEN
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 $ checksum 'P1'
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 $ show symb CHECKSUM$CHECKSUM
47a673b20e49 updated for version 7.4.197
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 $ ENDIF