aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-01 22:08:35 +0000
committerRichard M. Stallman1996-09-01 22:08:35 +0000
commit4f8aaa7480ecc26189f1a338bd7f45f6d54446bf (patch)
tree09ae7632314dfe167f83be0909c2aedb3c210736 /src
parent645280b72c54063bedc239469f013dd1749f689d (diff)
downloademacs-4f8aaa7480ecc26189f1a338bd7f45f6d54446bf.tar.gz
emacs-4f8aaa7480ecc26189f1a338bd7f45f6d54446bf.zip
(record_asynch_buffer_change, gobble_input):
Use sigblock instead of sigblockx.
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 }