diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-05-31 21:13:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-05-31 21:13:04 +0200 |
commit | e3188e261569ae512fb1ae2653b57fdd9e259ca3 (patch) | |
tree | 87c05229ae16e555ac400824415470337734dba4 /src/proto/ex_cmds2.pro | |
parent | ef3abc6442260e9a0314970a532400b05571d3fe (diff) | |
download | vim-git-e3188e261569ae512fb1ae2653b57fdd9e259ca3.tar.gz |
patch 7.4.1860v7.4.1860
Problem: Using a partial for timer_start() may cause a crash.
Solution: Set the copyID in timer objects. (Ozaki Kiichi)
Diffstat (limited to 'src/proto/ex_cmds2.pro')
-rw-r--r-- | src/proto/ex_cmds2.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro index 5e5b4d4b7..8d9b72a24 100644 --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -22,6 +22,7 @@ timer_T *create_timer(long msec, int repeats); long check_due_timer(void); timer_T *find_timer(int id); void stop_timer(timer_T *timer); +int set_ref_in_timer(int copyID); void profile_divide(proftime_T *tm, int count, proftime_T *tm2); void profile_add(proftime_T *tm, proftime_T *tm2); void profile_self(proftime_T *self, proftime_T *total, proftime_T *children); |