From 4f8aaa7480ecc26189f1a338bd7f45f6d54446bf Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 1 Sep 1996 22:08:35 +0000 Subject: [PATCH] (record_asynch_buffer_change, gobble_input): Use sigblock instead of sigblockx. --- src/keyboard.c | 6 +++--- 1 file 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) if (interrupt_input) { SIGMASKTYPE mask; - mask = sigblockx (SIGIO); + mask = sigblock (sigmask (SIGIO)); read_avail_input (expected); sigsetmask (mask); } @@ -4700,7 +4700,7 @@ gobble_input (expected) if (read_socket_hook && !interrupt_input && poll_suppress_count == 0) { SIGMASKTYPE mask; - mask = sigblockx (SIGALRM); + mask = sigblock (sigmask (SIGALRM)); read_avail_input (expected); sigsetmask (mask); } @@ -4740,7 +4740,7 @@ record_asynch_buffer_change () if (interrupt_input) { SIGMASKTYPE mask; - mask = sigblockx (SIGIO); + mask = sigblock (sigmask (SIGIO)); kbd_buffer_store_event (&event); sigsetmask (mask); } -- 2.39.2