mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-16 17:00:06 +00:00
(decode_coding): Fix previous change (check also
CODING_MODE_LAST_BLOCK).
This commit is contained in:
parent
42f92d4d10
commit
e7c9eef9a6
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue