+2003-05-30 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (ccl_coding_driver): Set ccl->eight_bit_control
+ properly before calling ccl_driver.
+
+ * ccl.h (struct ccl_program) <eight_bit_control: Comment fixed.
+
+ * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is
+ nonzero.
+ (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control.
+ (setup_ccl_program): Initialize ccl->eight_bit_control to zero.
+
2003-05-29 Kenichi Handa <handa@m17n.org>
* coding.c (decode_coding_iso2022): Pay attention to the byte
system. */
int suppress_error; /* If nonzero, don't insert error
message in the output. */
- int eight_bit_control; /* Set to nonzero if CCL_WRITE_CHAR
- writes eight-bit-control char. */
+ int eight_bit_control; /* If nonzero, ccl_driver counts all
+ eight-bit-control bytes written by
+ CCL_WRITE_CHAR. After execution,
+ if no such byte is written, set
+ this value to zero. */
};
/* This data type is used for the spec field of the structure