Mercurial > emacs
changeset 21565:2468c9227af0
(sys_pipe): Use binary pipe I/O unconditionally.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 15 Apr 1998 14:40:43 +0000 |
parents | 62a4efbdc4b4 |
children | 0641f568d88f |
files | src/w32.c |
diffstat | 1 files changed, 2 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32.c Wed Apr 15 14:36:16 1998 +0000 +++ b/src/w32.c Wed Apr 15 14:40:43 1998 +0000 @@ -2332,10 +2332,6 @@ return rc; } -/* From callproc.c */ -extern Lisp_Object Vbinary_process_input; -extern Lisp_Object Vbinary_process_output; - /* Unix pipe() has only one arg */ int sys_pipe (int * phandles) @@ -2352,14 +2348,10 @@ if (rc == 0) { - flags = FILE_PIPE | FILE_READ; - if (!NILP (Vbinary_process_output)) - flags |= FILE_BINARY; + flags = FILE_PIPE | FILE_READ | FILE_BINARY; fd_info[phandles[0]].flags = flags; - flags = FILE_PIPE | FILE_WRITE; - if (!NILP (Vbinary_process_input)) - flags |= FILE_BINARY; + flags = FILE_PIPE | FILE_WRITE | FILE_BINARY; fd_info[phandles[1]].flags = flags; }