From 6d74c3aa20d748280a659e5e344eaeac2193a63e Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 21 Jul 1998 01:42:40 +0000 Subject: [PATCH] (init_coding): New function. (init_coding_once): Don't initialize conversion_buffer here. It is done in init_coding. --- src/coding.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/coding.c b/src/coding.c index d865bd139bf..5e18c973fac 100644 --- a/src/coding.c +++ b/src/coding.c @@ -5037,6 +5037,12 @@ This function is internal use only.") /*** 8. Post-amble ***/ +void +init_coding () +{ + conversion_buffer = (char *) xmalloc (MINIMUM_CONVERSION_BUFFER_SIZE); +} + void init_coding_once () { @@ -5079,7 +5085,6 @@ init_coding_once () iso_code_class[ISO_CODE_CSI] = ISO_control_sequence_introducer; conversion_buffer_size = MINIMUM_CONVERSION_BUFFER_SIZE; - conversion_buffer = (char *) xmalloc (MINIMUM_CONVERSION_BUFFER_SIZE); setup_coding_system (Qnil, &keyboard_coding); setup_coding_system (Qnil, &terminal_coding); -- 2.39.2