HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(decode_coding): Fix previous change (check also
[bpt/emacs.git]
/
src
/
coding.c
diff --git
a/src/coding.c
b/src/coding.c
index
3cef86e
..
f44efa9
100644
(file)
--- 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;