Mercurial > vim
comparison src/proto/os_win32.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 | 35a30cb18005 |
children | 983c16e2dfb7 |
comparison
equal
deleted
inserted
replaced
29244:95a64cfeb60f | 29245:b12fd2b3be63 |
---|---|
83 int is_conpty_stable(void); | 83 int is_conpty_stable(void); |
84 int get_conpty_fix_type(void); | 84 int get_conpty_fix_type(void); |
85 void resize_console_buf(void); | 85 void resize_console_buf(void); |
86 char *GetWin32Error(void); | 86 char *GetWin32Error(void); |
87 void stop_timeout(void); | 87 void stop_timeout(void); |
88 volatile int *start_timeout(long msec); | 88 volatile sig_atomic_t *start_timeout(long msec); |
89 /* vim: set ft=c : */ | 89 /* vim: set ft=c : */ |