diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-01-29 04:52:15 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-01-29 04:52:15 +0000 |
commit | 044b2965da7b145bf9be0a2f0f7966fed93c3020 (patch) | |
tree | 44ae0c21789909df718d3ded0828dad343ba063c /src/process.c | |
parent | f326ab173fbe7483f9be06a6bca1e4de139b48fd (diff) | |
download | emacs-044b2965da7b145bf9be0a2f0f7966fed93c3020.tar.gz |
(create_process): Set outchannel to be non-blocking.
Diffstat (limited to 'src/process.c')
-rw-r--r-- | src/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 |