diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2021-01-29 21:15:33 +0100 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2021-01-29 22:28:41 +0100 |
commit | 7415c66d8b3e2476aeea64c70ef376c12a39f175 (patch) | |
tree | 489f99f06c34a443cc6e1f5fda00a732b11ca7ef | |
parent | 47147db9b0f40c77657aff625048bbef5d32fb05 (diff) | |
download | emacs-7415c66d8b3e2476aeea64c70ef376c12a39f175.tar.gz |
; * src/process.c (child_signal_read): Don't report EAGAIN as error
-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) eassert (0 <= fd); eassert (fd == child_signal_read_fd); char dummy; - if (emacs_read (fd, &dummy, 1) < 0) + if (emacs_read (fd, &dummy, 1) < 0 && errno != EAGAIN) emacs_perror ("reading from child signal FD"); } #endif /* !WINDOWSNT */ |