(Fwrite_region): Don't try to flush out a data twice.
This commit is contained in:
parent
40e82ac184
commit
8e662997af
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue