mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -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:
@@ -1557,7 +1557,7 @@ getout_preserve_modified(int exitval)
|
||||
// Ignore SIGHUP, because a dropped connection causes a read error, which
|
||||
// makes Vim exit and then handling SIGHUP causes various reentrance
|
||||
// problems.
|
||||
signal(SIGHUP, SIG_IGN);
|
||||
mch_signal(SIGHUP, SIG_IGN);
|
||||
# endif
|
||||
|
||||
ml_close_notmod(); // close all not-modified buffers
|
||||
|
Reference in New Issue
Block a user