forked from aniani/vim
patch 8.2.5115: search timeout is overrun with some patterns
Problem: Search timeout is overrun with some patterns.
Solution: Check for timeout in more places. Make the flag volatile and
atomic. Use assert_inrange() to see what happened.
This commit is contained in:
@@ -87,6 +87,6 @@ int xsmp_handle_requests(void);
|
||||
void xsmp_init(void);
|
||||
void xsmp_close(void);
|
||||
void stop_timeout(void);
|
||||
const int *start_timeout(long msec);
|
||||
volatile int *start_timeout(long msec);
|
||||
void delete_timer(void);
|
||||
/* vim: set ft=c : */
|
||||
|
||||
Reference in New Issue
Block a user