diff options
| author | Kenichi Handa | 2000-10-26 01:22:29 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2000-10-26 01:22:29 +0000 |
| commit | e7c9eef9a66c9a7c1186b4add69a9ecc7af5700b (patch) | |
| tree | f54c05aff5333e269fd1d9454e90df4e3f9f3dc3 /src/coding.c | |
| parent | 42f92d4d10c9e9e400fd3501e52beac47b0406d3 (diff) | |
| download | emacs-e7c9eef9a66c9a7c1186b4add69a9ecc7af5700b.tar.gz emacs-e7c9eef9a66c9a7c1186b4add69a9ecc7af5700b.zip | |
(decode_coding): Fix previous change (check also
CODING_MODE_LAST_BLOCK).
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
| 4223 | } | 4223 | } |
| 4224 | 4224 | ||
| 4225 | if (coding->result == CODING_FINISH_INSUFFICIENT_SRC | 4225 | if (coding->result == CODING_FINISH_INSUFFICIENT_SRC |
| 4226 | && coding->mode & CODING_MODE_LAST_BLOCK | ||
| 4226 | && coding->consumed == src_bytes) | 4227 | && coding->consumed == src_bytes) |
| 4227 | coding->result = CODING_FINISH_NORMAL; | 4228 | coding->result = CODING_FINISH_NORMAL; |
| 4228 | 4229 | ||