aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index d1b14533c99..4449493a2b6 100644
--- a/src/process.c
+++ b/src/process.c
@@ -5134,7 +5134,7 @@ read_and_dispose_of_process_output (struct Lisp_Process *p, char *chars,
5134 proc_encode_coding_system[p->outfd] surely points to a 5134 proc_encode_coding_system[p->outfd] surely points to a
5135 valid memory because p->outfd will be changed once EOF is 5135 valid memory because p->outfd will be changed once EOF is
5136 sent to the process. */ 5136 sent to the process. */
5137 if (NILP (p->encode_coding_system) && p->outfd 5137 if (NILP (p->encode_coding_system) && p->outfd >= 0
5138 && proc_encode_coding_system[p->outfd]) 5138 && proc_encode_coding_system[p->outfd])
5139 { 5139 {
5140 pset_encode_coding_system 5140 pset_encode_coding_system