diff options
| author | Karl Heuer | 1994-04-19 05:56:20 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-04-19 05:56:20 +0000 |
| commit | a14cad8c6022bb59d7815d40e66b1c83479c24a4 (patch) | |
| tree | 382ca844818ebafe25b126640d115389d8ea7e4a /src | |
| parent | 9134775b88c462d5fbf4c0c33a1af806f562343c (diff) | |
| download | emacs-a14cad8c6022bb59d7815d40e66b1c83479c24a4.tar.gz emacs-a14cad8c6022bb59d7815d40e66b1c83479c24a4.zip | |
(read_avail_input): Test EINTR, not EAGAIN.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index affd373655b..dd21b63cfdd 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -3357,7 +3357,7 @@ read_avail_input (expected) | |||
| 3357 | #endif | 3357 | #endif |
| 3358 | /* Retry the read if it was interrupted. */ | 3358 | /* Retry the read if it was interrupted. */ |
| 3359 | } | 3359 | } |
| 3360 | while (nread < 0 && (errno == EAGAIN | 3360 | while (nread < 0 && (errno == EINTR |
| 3361 | #ifdef EFAULT | 3361 | #ifdef EFAULT |
| 3362 | || errno == EFAULT | 3362 | || errno == EFAULT |
| 3363 | #endif | 3363 | #endif |