From 43e4a82f6ea03fcef34eb00fc15f1b713419c4fa Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Mon, 21 Jun 2004 21:53:27 +0000 Subject: [PATCH] (MAX_ALLOCA): Remove define. --- src/coding.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/coding.c b/src/coding.c index 44e3dc0e5dc..c1394d0f135 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2098,7 +2098,7 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes) int dim, M, L; int size, required; int produced_chars; - + ONE_MORE_BYTE (dim); ONE_MORE_BYTE (M); ONE_MORE_BYTE (L); @@ -4552,10 +4552,6 @@ struct conversion_buffer unsigned char *data; }; -/* Don't use alloca for allocating memory space larger than this, lest - we overflow their stack. */ -#define MAX_ALLOCA 16*1024 - /* Allocate LEN bytes of memory for BUF (struct conversion_buffer). */ #define allocate_conversion_buffer(buf, len) \ do { \ @@ -6658,7 +6654,7 @@ find_safe_codings (p, pend, safe_codings, work_table, single_byte_char_found) accept_latin_extra)); } } - + if (! encodable && ((CHAR_TABLE_P (translation_table) && ! NILP (Faref (translation_table, ch))) -- 2.39.2