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:
parent
44248b7f0d
commit
ea4496e6c5
1 changed files with 4 additions and 0 deletions
|
|
@ -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]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue