]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/process.c (child_signal_read): Don't report EAGAIN as error
authorMattias Engdegård <mattiase@acm.org>
Fri, 29 Jan 2021 20:15:33 +0000 (21:15 +0100)
committerMattias Engdegård <mattiase@acm.org>
Fri, 29 Jan 2021 21:28:41 +0000 (22:28 +0100)
src/process.c

index 1df4ed9ce0385178ca10885de7a52c680c8eaf9b..3beb9cf71464b28432a24c8b45d3afe02e3490f7 100644 (file)
@@ -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 */