mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 00:01:33 -08:00
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)
This commit is contained in:
parent
5896ca8925
commit
d4e2915dab
1 changed files with 0 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue