summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2004-06-21 21:53:27 +0000
committerKim F. Storm <storm@cua.dk>2004-06-21 21:53:27 +0000
commit43e4a82f6ea03fcef34eb00fc15f1b713419c4fa (patch)
treeae9a1d140de033e35310a42b71111cdaa9da842a
parent4894eddd88a9f761a2f3f8d8831680cdd45f8838 (diff)
downloademacs-43e4a82f6ea03fcef34eb00fc15f1b713419c4fa.tar.gz
(MAX_ALLOCA): Remove define.
-rw-r--r--src/coding.c8
1 files 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)))