diff src/process.c @ 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 f17131794fbc
children 572895549f80
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]))