aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
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 ed4b131b3a9..b36f7fbfbff 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -2094,7 +2094,7 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
2094 int dim, M, L; 2094 int dim, M, L;
2095 int size, required; 2095 int size, required;
2096 int produced_chars; 2096 int produced_chars;
2097 2097
2098 ONE_MORE_BYTE (dim); 2098 ONE_MORE_BYTE (dim);
2099 ONE_MORE_BYTE (M); 2099 ONE_MORE_BYTE (M);
2100 ONE_MORE_BYTE (L); 2100 ONE_MORE_BYTE (L);
@@ -4548,10 +4548,6 @@ struct conversion_buffer
4548 unsigned char *data; 4548 unsigned char *data;
4549}; 4549};
4550 4550
4551/* Don't use alloca for allocating memory space larger than this, lest
4552 we overflow their stack. */
4553#define MAX_ALLOCA 16*1024
4554
4555/* Allocate LEN bytes of memory for BUF (struct conversion_buffer). */ 4551/* Allocate LEN bytes of memory for BUF (struct conversion_buffer). */
4556#define allocate_conversion_buffer(buf, len) \ 4552#define allocate_conversion_buffer(buf, len) \
4557 do { \ 4553 do { \
@@ -6654,7 +6650,7 @@ find_safe_codings (p, pend, safe_codings, work_table, single_byte_char_found)
6654 accept_latin_extra)); 6650 accept_latin_extra));
6655 } 6651 }
6656 } 6652 }
6657 6653
6658 if (! encodable 6654 if (! encodable
6659 && ((CHAR_TABLE_P (translation_table) 6655 && ((CHAR_TABLE_P (translation_table)
6660 && ! NILP (Faref (translation_table, ch))) 6656 && ! NILP (Faref (translation_table, ch)))