aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index b50b3c6b935..995e4142f58 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4463,6 +4463,8 @@ by calling `format-decode', which see. */)
4463 4463
4464 if (unprocessed > 0) 4464 if (unprocessed > 0)
4465 { 4465 {
4466 BUF_TEMP_SET_PT (XBUFFER (conversion_buffer),
4467 BUF_Z (XBUFFER (conversion_buffer)));
4466 coding.mode |= CODING_MODE_LAST_BLOCK; 4468 coding.mode |= CODING_MODE_LAST_BLOCK;
4467 decode_coding_c_string (&coding, (unsigned char *) read_buf, 4469 decode_coding_c_string (&coding, (unsigned char *) read_buf,
4468 unprocessed, conversion_buffer); 4470 unprocessed, conversion_buffer);