1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00

(read_process_output): Allocate for coding system, if

not already done.
This commit is contained in:
Karl Heuer 1997-12-08 01:35:12 +00:00
parent 44248b7f0d
commit ea4496e6c5

View file

@ -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]);
}