comparison src/callproc.c @ 22792:19ed63955546

(Fcall_process): Use alloca instead of get_conversion_buffer.
author Kenichi Handa <handa@m17n.org>
date Tue, 21 Jul 1998 01:42:40 +0000
parents 8177901b437a
children 3cfe86230c87
comparison
equal deleted inserted replaced
22791:c796882abd44 22792:19ed63955546
674 if (process_coding.type == coding_type_no_conversion) 674 if (process_coding.type == coding_type_no_conversion)
675 insert (bufptr, nread); 675 insert (bufptr, nread);
676 else 676 else
677 { /* We have to decode the input. */ 677 { /* We have to decode the input. */
678 int size = decoding_buffer_size (&process_coding, nread); 678 int size = decoding_buffer_size (&process_coding, nread);
679 char *decoding_buf = get_conversion_buffer (size); 679 char *decoding_buf = (char *) alloca (size);
680 680
681 decode_coding (&process_coding, bufptr, decoding_buf, 681 decode_coding (&process_coding, bufptr, decoding_buf,
682 nread, size); 682 nread, size);
683 if (display_on_the_fly 683 if (display_on_the_fly
684 && saved_coding.type == coding_type_undecided 684 && saved_coding.type == coding_type_undecided