]> code.delx.au - gnu-emacs/commitdiff
(Fcall_process): Use alloca instead of
authorKenichi Handa <handa@m17n.org>
Tue, 21 Jul 1998 01:42:40 +0000 (01:42 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 21 Jul 1998 01:42:40 +0000 (01:42 +0000)
get_conversion_buffer.

src/callproc.c

index cbc58c01cfa2e55dd4ae4c251f2770363946304f..7035aed4f506b947c0147cab89ee9225a8241a26 100644 (file)
@@ -676,7 +676,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
            else
              {                 /* We have to decode the input.  */
                int size = decoding_buffer_size (&process_coding, nread);
-               char *decoding_buf = get_conversion_buffer (size);
+               char *decoding_buf = (char *) alloca (size);
 
                decode_coding (&process_coding, bufptr, decoding_buf,
                               nread, size);