diff options
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/callproc.c b/src/callproc.c index 8578556b695..3a40626de48 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -565,8 +565,7 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd, | |||
| 565 | { | 565 | { |
| 566 | /* Since CRLF is converted to LF within `decode_coding', we | 566 | /* Since CRLF is converted to LF within `decode_coding', we |
| 567 | can always open a file with binary mode. */ | 567 | can always open a file with binary mode. */ |
| 568 | callproc_fd[CALLPROC_PIPEREAD] = emacs_open (tempfile, | 568 | callproc_fd[CALLPROC_PIPEREAD] = emacs_open (tempfile, O_RDONLY, 0); |
| 569 | O_RDONLY | O_BINARY, 0); | ||
| 570 | if (callproc_fd[CALLPROC_PIPEREAD] < 0) | 569 | if (callproc_fd[CALLPROC_PIPEREAD] < 0) |
| 571 | { | 570 | { |
| 572 | int open_errno = errno; | 571 | int open_errno = errno; |