aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenichi Handa1997-08-01 01:36:20 +0000
committerKenichi Handa1997-08-01 01:36:20 +0000
commit8e662997af070e32b49197e0dadc22c60f877549 (patch)
tree820f9cbed83ca0db5d51ac990f2a255c913649cf /src
parent40e82ac184d3ab1001f86aa128487d2b01320a1e (diff)
downloademacs-8e662997af070e32b49197e0dadc22c60f877549.tar.gz
emacs-8e662997af070e32b49197e0dadc22c60f877549.zip
(Fwrite_region): Don't try to flush out a data twice.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
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;