diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c index 3540229cff7..9ad7a42ea2a 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -4076,7 +4076,7 @@ to the file, instead of any buffer contents, and END is ignored.") | |||
| 4076 | save_errno = errno; | 4076 | save_errno = errno; |
| 4077 | } | 4077 | } |
| 4078 | 4078 | ||
| 4079 | if (coding.require_flushing) | 4079 | if (coding.require_flushing && !coding.last_block) |
| 4080 | { | 4080 | { |
| 4081 | /* We have to flush out a data. */ | 4081 | /* We have to flush out a data. */ |
| 4082 | coding.last_block = 1; | 4082 | coding.last_block = 1; |