diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 10 |
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 |