aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index c8fe99008cd..9c854a046cc 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -4691,7 +4691,7 @@ gobble_input (expected)
4691 if (interrupt_input) 4691 if (interrupt_input)
4692 { 4692 {
4693 SIGMASKTYPE mask; 4693 SIGMASKTYPE mask;
4694 mask = sigblockx (SIGIO); 4694 mask = sigblock (sigmask (SIGIO));
4695 read_avail_input (expected); 4695 read_avail_input (expected);
4696 sigsetmask (mask); 4696 sigsetmask (mask);
4697 } 4697 }
@@ -4700,7 +4700,7 @@ gobble_input (expected)
4700 if (read_socket_hook && !interrupt_input && poll_suppress_count == 0) 4700 if (read_socket_hook && !interrupt_input && poll_suppress_count == 0)
4701 { 4701 {
4702 SIGMASKTYPE mask; 4702 SIGMASKTYPE mask;
4703 mask = sigblockx (SIGALRM); 4703 mask = sigblock (sigmask (SIGALRM));
4704 read_avail_input (expected); 4704 read_avail_input (expected);
4705 sigsetmask (mask); 4705 sigsetmask (mask);
4706 } 4706 }
@@ -4740,7 +4740,7 @@ record_asynch_buffer_change ()
4740 if (interrupt_input) 4740 if (interrupt_input)
4741 { 4741 {
4742 SIGMASKTYPE mask; 4742 SIGMASKTYPE mask;
4743 mask = sigblockx (SIGIO); 4743 mask = sigblock (sigmask (SIGIO));
4744 kbd_buffer_store_event (&event); 4744 kbd_buffer_store_event (&event);
4745 sigsetmask (mask); 4745 sigsetmask (mask);
4746 } 4746 }