aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKaroly Lorentey2004-06-24 07:44:13 +0000
committerKaroly Lorentey2004-06-24 07:44:13 +0000
commit3fa701994755105d1fb4b0b802338fc04e8a6937 (patch)
tree02ec9152f5f6e95bbb0b02265f51b832e712e8b5 /src/coding.c
parent8c8d5f3503a2fb4918414c0b0b9dacd81c50f1a9 (diff)
parentbb72b9d0b5248404a55b599d99c0be5454704e4a (diff)
downloademacs-3fa701994755105d1fb4b0b802338fc04e8a6937.tar.gz
emacs-3fa701994755105d1fb4b0b802338fc04e8a6937.zip
Merged in changes from CVS trunk.
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-409 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-410 Make sure image types are initialized for lookup too * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-411 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-412 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-413 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-414 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-415 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-416 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-417 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-418 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-419 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-202
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)))