diff --git a/readline/ChangeLog b/readline/ChangeLog index 4961f999f1..2f89aad7c8 100644 --- a/readline/ChangeLog +++ b/readline/ChangeLog @@ -1,3 +1,8 @@ +2021-03-02 Tom Tromey + + * readline/signals.c (_rl_handle_signal): Add missing check for + HAVE_POSIX_SIGNALS. + 2021-03-02 Tom Tromey * Import readline 8.1. diff --git a/readline/readline/signals.c b/readline/readline/signals.c index f9174ab8a0..8fedc370a1 100644 --- a/readline/readline/signals.c +++ b/readline/readline/signals.c @@ -266,8 +266,10 @@ _rl_handle_signal (int sig) case SIGQUIT: #endif +#if defined (HAVE_POSIX_SIGNALS) if (block_sig) sigprocmask (SIG_BLOCK, &set, &oset); +#endif rl_echo_signal_char (sig); rl_cleanup_after_signal ();