Commit 8e662997 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(Fwrite_region): Don't try to flush out a data twice.

parent 40e82ac1
......@@ -4076,7 +4076,7 @@ to the file, instead of any buffer contents, and END is ignored.")
save_errno = errno;
if (coding.require_flushing)
if (coding.require_flushing && !coding.last_block)
/* We have to flush out a data. */
coding.last_block = 1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment