]> granicus.if.org Git - vim/commit
patch 8.0.1817: a timer may change v:count unexpectedly v8.0.1817
authorBram Moolenaar <Bram@vim.org>
Sat, 12 May 2018 13:38:26 +0000 (15:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 May 2018 13:38:26 +0000 (15:38 +0200)
commitb0f42ba60d9e6d101d103421ba0c351811615c15
tree083b82fcd12fc95a90d779898a6a2b9939ef7837
parentff3be4fe1e2e723de48b826cb992c798e296c41e
patch 8.0.1817: a timer may change v:count unexpectedly

Problem:    A timer may change v:count unexpectedly.
Solution:   Save and restore v:count and similar variables when a timer
            callback is invoked. (closes #2897)
src/eval.c
src/ex_cmds2.c
src/proto/eval.pro
src/structs.h
src/testdir/test_timers.vim
src/version.c