]> git.ipfire.org Git - thirdparty/readline.git/commitdiff
Readline-7.0 patch 3
authorChet Ramey <chet.ramey@case.edu>
Sun, 29 Jan 2017 18:55:51 +0000 (13:55 -0500)
committerChet Ramey <chet.ramey@case.edu>
Sun, 29 Jan 2017 18:55:51 +0000 (13:55 -0500)
input.c
patchlevel

diff --git a/input.c b/input.c
index 286897d7798feeca3f606ea7799d794a9bdb09af..24126ea41e7ef0adcab9931f4643cdd6d19c7d34 100644 (file)
--- a/input.c
+++ b/input.c
@@ -513,6 +513,7 @@ rl_getc (stream)
       result = 0;
 #if defined (HAVE_PSELECT)
       sigemptyset (&empty_set);
+      sigprocmask (SIG_BLOCK, (sigset_t *)NULL, &empty_set);
       FD_ZERO (&readfds);
       FD_SET (fileno (stream), &readfds);
       result = pselect (fileno (stream) + 1, &readfds, NULL, NULL, NULL, &empty_set);
index 7cbda82ded86fa174ee44dba637d5fa80815bfdc..ce3e35565330d4faf05e7f91c30ce66182f764fd 100644 (file)
@@ -1,3 +1,3 @@
 # Do not edit -- exists only for use by patch
 
-2
+3