changeset 22864:da331c0f1092

(create_process): For outchannel, set up proc_encode_coding_system, not proc_decode_coding_system.
author Richard M. Stallman <rms@gnu.org>
date Sat, 01 Aug 1998 19:04:28 +0000
parents 58584d6a8237
children df59ef00f1e4
files src/process.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Sat Aug 01 19:03:50 1998 +0000
+++ b/src/process.c	Sat Aug 01 19:04:28 1998 +0000
@@ -1447,7 +1447,7 @@
 	setup_raw_text_coding_system (proc_decode_coding_system[inchannel]);
       if (NILP (Vcoding_system_for_write)
 	  && !NILP (XPROCESS (process)->encode_coding_system))
-	setup_raw_text_coding_system (proc_decode_coding_system[outchannel]);
+	setup_raw_text_coding_system (proc_encode_coding_system[outchannel]);
     }
 
   if (CODING_REQUIRE_ENCODING (proc_encode_coding_system[outchannel]))