]> git.eshelyaron.com Git - emacs.git/commitdiff
(decode_coding): Fix previous change (check also
authorKenichi Handa <handa@m17n.org>
Thu, 26 Oct 2000 01:22:29 +0000 (01:22 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 26 Oct 2000 01:22:29 +0000 (01:22 +0000)
CODING_MODE_LAST_BLOCK).

src/coding.c

index 3cef86e5cea2dc4caf1ca2a1c8d59633bef0d177..f44efa9415e976c1c68b314692766028ed1ad859 100644 (file)
@@ -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;