aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorCharles A. Roelli2017-11-26 20:18:54 +0100
committerCharles A. Roelli2017-11-26 20:37:53 +0100
commit6ec5d497b6623e612ca6936ac848234725d4fc61 (patch)
treebd85b8b0a2c230e4c5073409a6ae8f783e1bd255 /src/process.c
parentd20161b25e9cd184d841ba9e36ee5141c01fd75f (diff)
downloademacs-6ec5d497b6623e612ca6936ac848234725d4fc61.tar.gz
emacs-6ec5d497b6623e612ca6936ac848234725d4fc61.zip
* src/process.c (wait_reading_process_output): Deduplicate check.
(Bug#29454)
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/process.c b/src/process.c
index fc46e743328..a4f016fc25b 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5625,16 +5625,6 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
5625 } 5625 }
5626 else if (nread == -1 && would_block (errno)) 5626 else if (nread == -1 && would_block (errno))
5627 ; 5627 ;
5628#ifdef WINDOWSNT
5629 /* FIXME: Is this special case still needed? */
5630 /* Note that we cannot distinguish between no input
5631 available now and a closed pipe.
5632 With luck, a closed pipe will be accompanied by
5633 subprocess termination and SIGCHLD. */
5634 else if (nread == 0 && !NETCONN_P (proc) && !SERIALCONN_P (proc)
5635 && !PIPECONN_P (proc))
5636 ;
5637#endif
5638#ifdef HAVE_PTYS 5628#ifdef HAVE_PTYS
5639 /* On some OSs with ptys, when the process on one end of 5629 /* On some OSs with ptys, when the process on one end of
5640 a pty exits, the other end gets an error reading with 5630 a pty exits, the other end gets an error reading with