projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5896ca8
)
Make process_pending_signals useful on systems without SIGIO
author
Ken Brown
<kbrown@cornell.edu>
Wed, 17 Nov 2021 18:02:44 +0000
(13:02 -0500)
committer
Ken Brown
<kbrown@cornell.edu>
Wed, 17 Nov 2021 18:02:44 +0000
(13:02 -0500)
* 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
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index de9805df3279febea852fc0933647452414a95a8..5a43e9a46aa702876da08bd8ddbdc5b78ca088dc 100644
(file)
--- 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