# HG changeset patch # User Kenichi Handa # Date 870399380 0 # Node ID 299ae0a2c4fd1a20ea2e0237542e16270793f584 # Parent f51eb6bca2dde073ab50eaf85b577180adb98881 (Fwrite_region): Don't try to flush out a data twice. diff -r f51eb6bca2dd -r 299ae0a2c4fd src/fileio.c --- a/src/fileio.c Fri Aug 01 01:22:16 1997 +0000 +++ b/src/fileio.c Fri Aug 01 01:36:20 1997 +0000 @@ -4076,7 +4076,7 @@ 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;