Commit 03832893 authored by Richard M. Stallman's avatar Richard M. Stallman

(create_process): Set outchannel to be non-blocking.

parent fb4c3627
/* 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment