# HG changeset patch # User Kenichi Handa # Date 903446118 0 # Node ID d40f9a8d777943df23ffe94b34b440c1d5361cd7 # Parent 26b311ef19c680c74be432a1b1e74827643d24a7 (write_glyphs): When terminal_coding require flushing, call encode_coding with "" as the SOURCE arg so that ccl_driver correctly processes eof block of a CCL program. diff -r 26b311ef19c6 -r d40f9a8d7779 src/term.c --- a/src/term.c Tue Aug 18 11:12:25 1998 +0000 +++ b/src/term.c Tue Aug 18 13:15:18 1998 +0000 @@ -930,7 +930,7 @@ if (CODING_REQUIRE_FLUSHING (&terminal_coding)) { terminal_coding.mode |= CODING_MODE_LAST_BLOCK; - encode_coding (&terminal_coding, (char *)0, conversion_buffer, + encode_coding (&terminal_coding, "", conversion_buffer, 0, conversion_buffer_size); if (terminal_coding.produced > 0) {