mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 9.0.1544: recent glibc marks sigset() as a deprecated
Problem: Recent glibc marks sigset() as a deprecated. Solution: Use sigaction() in mch_signal() if possible. (Ozaki Kiichi, closes #12373)
This commit is contained in:
@@ -785,8 +785,8 @@ VimApp::ReadyToRun()
|
||||
* Apparently signals are inherited by the created thread -
|
||||
* disable the most annoying ones.
|
||||
*/
|
||||
signal(SIGINT, SIG_IGN);
|
||||
signal(SIGQUIT, SIG_IGN);
|
||||
mch_signal(SIGINT, SIG_IGN);
|
||||
mch_signal(SIGQUIT, SIG_IGN);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -1067,8 +1067,8 @@ VimFormView::AllAttached()
|
||||
* Apparently signals are inherited by the created thread -
|
||||
* disable the most annoying ones.
|
||||
*/
|
||||
signal(SIGINT, SIG_IGN);
|
||||
signal(SIGQUIT, SIG_IGN);
|
||||
mch_signal(SIGINT, SIG_IGN);
|
||||
mch_signal(SIGQUIT, SIG_IGN);
|
||||
|
||||
if (menuBar && textArea) {
|
||||
/*
|
||||
|
Reference in New Issue
Block a user