Mercurial > emacs
changeset 20428:7351dc9f1c94
(read_process_output): Allocate for coding system, if
not already done.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 08 Dec 1997 01:35:12 +0000 |
parents | 1b4f02e638b8 |
children | ad8d3c6d3d94 |
files | src/process.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/process.c Sun Dec 07 22:15:02 1997 +0000 +++ b/src/process.c Mon Dec 08 01:35:12 1997 +0000 @@ -2812,6 +2812,10 @@ 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]); }