From: Kenichi Handa Date: Thu, 26 Oct 2000 01:22:29 +0000 (+0000) Subject: (decode_coding): Fix previous change (check also X-Git-Tag: emacs-pretest-21.0.90~561 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e7c9eef9a66c9a7c1186b4add69a9ecc7af5700b;p=emacs.git (decode_coding): Fix previous change (check also CODING_MODE_LAST_BLOCK). --- diff --git a/src/coding.c b/src/coding.c index 3cef86e5cea..f44efa9415e 100644 --- a/src/coding.c +++ b/src/coding.c @@ -4223,6 +4223,7 @@ decode_coding (coding, source, destination, src_bytes, dst_bytes) } if (coding->result == CODING_FINISH_INSUFFICIENT_SRC + && coding->mode & CODING_MODE_LAST_BLOCK && coding->consumed == src_bytes) coding->result = CODING_FINISH_NORMAL;