From 038328930df6c0bf12eea61e5ab6ed57b6e94b40 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 29 Jan 1996 04:52:15 +0000 Subject: [PATCH] (create_process): Set outchannel to be non-blocking. --- src/process.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 2dd1a46c32d..59bcd8cb11d 100644 --- a/src/process.c +++ b/src/process.c @@ -1,5 +1,6 @@ /* Asynchronous subprocess control for GNU Emacs. - Copyright (C) 1985, 86, 87, 88, 93, 94, 95 Free Software Foundation, Inc. + Copyright (C) 1985, 86, 87, 88, 93, 94, 95, 1996 + Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -1290,9 +1291,11 @@ create_process (process, new_argv, current_dir) #ifdef O_NONBLOCK fcntl (inchannel, F_SETFL, O_NONBLOCK); + fcntl (outchannel, F_SETFL, O_NONBLOCK); #else #ifdef O_NDELAY fcntl (inchannel, F_SETFL, O_NDELAY); + fcntl (outchannel, F_SETFL, O_NDELAY); #endif #endif -- 2.39.2