Commit ea4496e6 authored by Karl Heuer's avatar Karl Heuer

(read_process_output): Allocate for coding system, if

not already done.
parent 44248b7f
......@@ -2812,6 +2812,10 @@ read_process_output (proc, channel)
if (NILP (p->encode_coding_system))
{
p->encode_coding_system = coding->symbol;
if (!proc_encode_coding_system[p->outfd])
proc_encode_coding_system[p->outfd]
= ((struct coding_system *)
xmalloc (sizeof (struct coding_system)));
setup_coding_system (coding->symbol,
proc_encode_coding_system[p->outfd]);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment