aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKim F. Storm2004-06-21 21:53:27 +0000
committerKim F. Storm2004-06-21 21:53:27 +0000
commit43e4a82f6ea03fcef34eb00fc15f1b713419c4fa (patch)
treeae9a1d140de033e35310a42b71111cdaa9da842a /src/coding.c
parent4894eddd88a9f761a2f3f8d8831680cdd45f8838 (diff)
downloademacs-43e4a82f6ea03fcef34eb00fc15f1b713419c4fa.tar.gz
emacs-43e4a82f6ea03fcef34eb00fc15f1b713419c4fa.zip
(MAX_ALLOCA): Remove define.
Diffstat (limited to 'src/coding.c')
-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)
2098 int dim, M, L; 2098 int dim, M, L;
2099 int size, required; 2099 int size, required;
2100 int produced_chars; 2100 int produced_chars;
2101 2101
2102 ONE_MORE_BYTE (dim); 2102 ONE_MORE_BYTE (dim);
2103 ONE_MORE_BYTE (M); 2103 ONE_MORE_BYTE (M);
2104 ONE_MORE_BYTE (L); 2104 ONE_MORE_BYTE (L);
@@ -4552,10 +4552,6 @@ struct conversion_buffer
4552 unsigned char *data; 4552 unsigned char *data;
4553}; 4553};
4554 4554
4555/* Don't use alloca for allocating memory space larger than this, lest
4556 we overflow their stack. */
4557#define MAX_ALLOCA 16*1024
4558
4559/* Allocate LEN bytes of memory for BUF (struct conversion_buffer). */ 4555/* Allocate LEN bytes of memory for BUF (struct conversion_buffer). */
4560#define allocate_conversion_buffer(buf, len) \ 4556#define allocate_conversion_buffer(buf, len) \
4561 do { \ 4557 do { \
@@ -6658,7 +6654,7 @@ find_safe_codings (p, pend, safe_codings, work_table, single_byte_char_found)
6658 accept_latin_extra)); 6654 accept_latin_extra));
6659 } 6655 }
6660 } 6656 }
6661 6657
6662 if (! encodable 6658 if (! encodable
6663 && ((CHAR_TABLE_P (translation_table) 6659 && ((CHAR_TABLE_P (translation_table)
6664 && ! NILP (Faref (translation_table, ch))) 6660 && ! NILP (Faref (translation_table, ch)))