From: tomo Date: Thu, 24 Jun 1999 08:11:44 +0000 (+0000) Subject: (mule_decode): Setup `str->ccl.last_block'. X-Git-Tag: r21-2-16-tomo-5~4 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a801e3792a6e85d537b2f53c26b0ef987e3c397;p=chise%2Fxemacs-chise.git (mule_decode): Setup `str->ccl.last_block'. (mule_encode): Likewise. --- diff --git a/src/file-coding.c b/src/file-coding.c index 7a7eee3..02854c7 100644 --- a/src/file-coding.c +++ b/src/file-coding.c @@ -2116,6 +2116,7 @@ mule_decode (Lstream *decoding, CONST unsigned char *src, decode_coding_utf8 (decoding, src, dst, n); break; case CODESYS_CCL: + str->ccl.last_block = str->flags & CODING_STATE_END; ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_DECODING); break; case CODESYS_ISO2022: @@ -2528,6 +2529,7 @@ mule_encode (Lstream *encoding, CONST unsigned char *src, encode_coding_utf8 (encoding, src, dst, n); break; case CODESYS_CCL: + str->ccl.last_block = str->flags & CODING_STATE_END; ccl_driver (&str->ccl, src, dst, n, 0, CCL_MODE_ENCODING); break; case CODESYS_ISO2022: