Mercurial > emacs
diff src/process.c @ 14405:4aa693528ee3
(create_process): Set outchannel to be non-blocking.
| author | Richard M. Stallman <rms@gnu.org> |
|---|---|
| date | Mon, 29 Jan 1996 04:52:15 +0000 |
| parents | cba05f90ee57 |
| children | 2bb4652305c1 |
line wrap: on
line diff
--- a/src/process.c Mon Jan 29 04:50:16 1996 +0000 +++ b/src/process.c Mon Jan 29 04:52:15 1996 +0000 @@ -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 @@ #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
