summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2017-01-29 13:55:51 -0500
committerChet Ramey <chet.ramey@case.edu>2017-01-29 13:55:51 -0500
commit6c32f81cd66bbe86218469063690c84205661a5e (patch)
tree7760f3b50d7786f5238d20960a0f7e81a2214a64 /input.c
parente3f5a97bfa54db0d4e4fe67e406e64f1a58508ea (diff)
downloadreadline-6c32f81cd66bbe86218469063690c84205661a5e.tar.gz
Readline-7.0 patch 3
Diffstat (limited to 'input.c')
-rw-r--r--input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/input.c b/input.c
index 286897d..24126ea 100644
--- 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);