Mercurial > vim
comparison src/proto/os_unix.pro @ 29245:b12fd2b3be63 v8.2.5141
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Commit: https://github.com/vim/vim/commit/155f2d1451949d1124bfd6ba9c55be6bd74bab75
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jun 20 13:38:33 2022 +0100
patch 8.2.5141: using "volatile int" in a signal handler might be wrong
Problem: Using "volatile int" in a signal handler might be wrong.
Solution: Use "volatile sig_atomic_t".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Jun 2022 14:45:03 +0200 |
parents | 0af5fe160e4e |
children | 5b71c3884a2a |
comparison
equal
deleted
inserted
replaced
29244:95a64cfeb60f | 29245:b12fd2b3be63 |
---|---|
85 void clip_xterm_set_selection(Clipboard_T *cbd); | 85 void clip_xterm_set_selection(Clipboard_T *cbd); |
86 int xsmp_handle_requests(void); | 86 int xsmp_handle_requests(void); |
87 void xsmp_init(void); | 87 void xsmp_init(void); |
88 void xsmp_close(void); | 88 void xsmp_close(void); |
89 void stop_timeout(void); | 89 void stop_timeout(void); |
90 volatile int *start_timeout(long msec); | 90 volatile sig_atomic_t *start_timeout(long msec); |
91 void delete_timer(void); | 91 void delete_timer(void); |
92 /* vim: set ft=c : */ | 92 /* vim: set ft=c : */ |