emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 6ec5d49: * src/process.c (wait_reading_process_outp


From: Charles A. Roelli
Subject: [Emacs-diffs] master 6ec5d49: * src/process.c (wait_reading_process_output): Deduplicate check.
Date: Sun, 26 Nov 2017 14:37:05 -0500 (EST)

branch: master
commit 6ec5d497b6623e612ca6936ac848234725d4fc61
Author: Charles A. Roelli <address@hidden>
Commit: Charles A. Roelli <address@hidden>

    * src/process.c (wait_reading_process_output): Deduplicate check.
    
    (Bug#29454)
---
 src/process.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/src/process.c b/src/process.c
index fc46e74..a4f016f 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,
                }
              else if (nread == -1 && would_block (errno))
                ;
-#ifdef WINDOWSNT
-             /* FIXME: Is this special case still needed?  */
-             /* Note that we cannot distinguish between no input
-                available now and a closed pipe.
-                With luck, a closed pipe will be accompanied by
-                subprocess termination and SIGCHLD.  */
-             else if (nread == 0 && !NETCONN_P (proc) && !SERIALCONN_P (proc)
-                      && !PIPECONN_P (proc))
-               ;
-#endif
 #ifdef HAVE_PTYS
              /* On some OSs with ptys, when the process on one end of
                 a pty exits, the other end gets an error reading with



reply via email to

[Prev in Thread] Current Thread [Next in Thread]