diff options
| author | Ken Brown | 2021-11-17 13:02:44 -0500 |
|---|---|---|
| committer | Ken Brown | 2021-11-17 13:02:44 -0500 |
| commit | d4e2915dab13da38ce2b7ab63b5c8b0ffb9b9df8 (patch) | |
| tree | cca6b1117174cac3a0f8144250b876b7fd31dafc | |
| parent | 5896ca8925b65d86a392269c0696c96755890b1a (diff) | |
| download | emacs-d4e2915dab13da38ce2b7ab63b5c8b0ffb9b9df8.tar.gz emacs-d4e2915dab13da38ce2b7ab63b5c8b0ffb9b9df8.zip | |
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)
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index de9805df327..5a43e9a46aa 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -7180,7 +7180,6 @@ tty_read_avail_input (struct terminal *terminal, | |||
| 7180 | static void | 7180 | static void |
| 7181 | handle_async_input (void) | 7181 | handle_async_input (void) |
| 7182 | { | 7182 | { |
| 7183 | #ifdef USABLE_SIGIO | ||
| 7184 | while (1) | 7183 | while (1) |
| 7185 | { | 7184 | { |
| 7186 | int nread = gobble_input (); | 7185 | int nread = gobble_input (); |
| @@ -7190,7 +7189,6 @@ handle_async_input (void) | |||
| 7190 | if (nread <= 0) | 7189 | if (nread <= 0) |
| 7191 | break; | 7190 | break; |
| 7192 | } | 7191 | } |
| 7193 | #endif | ||
| 7194 | } | 7192 | } |
| 7195 | 7193 | ||
| 7196 | void | 7194 | void |