diff options
| author | Mattias EngdegÄrd | 2021-01-29 21:15:33 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2021-01-29 22:28:41 +0100 |
| commit | 7415c66d8b3e2476aeea64c70ef376c12a39f175 (patch) | |
| tree | 489f99f06c34a443cc6e1f5fda00a732b11ca7ef /src/process.c | |
| parent | 47147db9b0f40c77657aff625048bbef5d32fb05 (diff) | |
| download | emacs-7415c66d8b3e2476aeea64c70ef376c12a39f175.tar.gz emacs-7415c66d8b3e2476aeea64c70ef376c12a39f175.zip | |
; * src/process.c (child_signal_read): Don't report EAGAIN as error
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 1df4ed9ce03..3beb9cf7146 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -7217,7 +7217,7 @@ child_signal_read (int fd, void *data) | |||
| 7217 | eassert (0 <= fd); | 7217 | eassert (0 <= fd); |
| 7218 | eassert (fd == child_signal_read_fd); | 7218 | eassert (fd == child_signal_read_fd); |
| 7219 | char dummy; | 7219 | char dummy; |
| 7220 | if (emacs_read (fd, &dummy, 1) < 0) | 7220 | if (emacs_read (fd, &dummy, 1) < 0 && errno != EAGAIN) |
| 7221 | emacs_perror ("reading from child signal FD"); | 7221 | emacs_perror ("reading from child signal FD"); |
| 7222 | } | 7222 | } |
| 7223 | #endif /* !WINDOWSNT */ | 7223 | #endif /* !WINDOWSNT */ |