comparison 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
comparison
equal deleted inserted replaced
22863:58584d6a8237 22864:da331c0f1092
1445 if (NILP (Vcoding_system_for_read) 1445 if (NILP (Vcoding_system_for_read)
1446 && !NILP (XPROCESS (process)->decode_coding_system)) 1446 && !NILP (XPROCESS (process)->decode_coding_system))
1447 setup_raw_text_coding_system (proc_decode_coding_system[inchannel]); 1447 setup_raw_text_coding_system (proc_decode_coding_system[inchannel]);
1448 if (NILP (Vcoding_system_for_write) 1448 if (NILP (Vcoding_system_for_write)
1449 && !NILP (XPROCESS (process)->encode_coding_system)) 1449 && !NILP (XPROCESS (process)->encode_coding_system))
1450 setup_raw_text_coding_system (proc_decode_coding_system[outchannel]); 1450 setup_raw_text_coding_system (proc_encode_coding_system[outchannel]);
1451 } 1451 }
1452 1452
1453 if (CODING_REQUIRE_ENCODING (proc_encode_coding_system[outchannel])) 1453 if (CODING_REQUIRE_ENCODING (proc_encode_coding_system[outchannel]))
1454 { 1454 {
1455 /* Here we encode arguments by the coding system used for 1455 /* Here we encode arguments by the coding system used for