emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d4e2915: Make process_pending_signals useful on systems without S


From: Ken Brown
Subject: master d4e2915: Make process_pending_signals useful on systems without SIGIO
Date: Wed, 17 Nov 2021 13:06:10 -0500 (EST)

branch: master
commit d4e2915dab13da38ce2b7ab63b5c8b0ffb9b9df8
Author: Ken Brown <kbrown@cornell.edu>
Commit: Ken Brown <kbrown@cornell.edu>

    Make process_pending_signals useful on systems without SIGIO
    
    * src/keyboard.c (handle_async_input): Call gobble_input
    unconditionally, not just if USABLE_SIGIO is defined.  This makes
    process_pending_signals do something useful on systems that have
    to poll for input.  (Bug#51820)
---
 src/keyboard.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/keyboard.c b/src/keyboard.c
index de9805d..5a43e9a 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -7180,7 +7180,6 @@ tty_read_avail_input (struct terminal *terminal,
 static void
 handle_async_input (void)
 {
-#ifdef USABLE_SIGIO
   while (1)
     {
       int nread = gobble_input ();
@@ -7190,7 +7189,6 @@ handle_async_input (void)
       if (nread <= 0)
        break;
     }
-#endif
 }
 
 void



reply via email to

[Prev in Thread] Current Thread [Next in Thread]