diff src/file-coding.c @ 422:95016f13131a r21-2-19

Import from CVS: tag r21-2-19
author cvs
date Mon, 13 Aug 2007 11:25:01 +0200
parents 41dbb7a9d5f2
children 11054d720c21
line wrap: on
line diff
--- a/src/file-coding.c	Mon Aug 13 11:24:10 2007 +0200
+++ b/src/file-coding.c	Mon Aug 13 11:25:01 2007 +0200
@@ -2153,6 +2153,7 @@
       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:
@@ -2565,6 +2566,7 @@
       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: