]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix Readline 8.1 build on mingw users/tromey/readline-8.1-update
authorTom Tromey <tom@tromey.com>
Sat, 23 Jan 2021 17:11:30 +0000 (10:11 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 6 Feb 2021 18:20:46 +0000 (11:20 -0700)
commit4cbf332613a833e214e825817093b945c6a38bbd
treeeebb23947aa3c5a525bc09cef8cf3853207151e0
parentd255005f2121d29581170a8f5b89f63c339c593e
Fix Readline 8.1 build on mingw

The mingw build fails with Readline 8.1, because sigprocmask is called
unconditionally.  This patch adds the missing check for
HAVE_POSIX_SIGNALS.

I reported this upstream here:

    https://lists.gnu.org/archive/html/bug-readline/2021-01/msg00011.html

2021-02-06  Tom Tromey  <tom@tromey.com>

* readline/signals.c (_rl_handle_signal): Add missing check for
HAVE_POSIX_SIGNALS.
readline/ChangeLog
readline/readline/signals.c