From: Kenichi Handa Date: Fri, 1 Aug 1997 01:36:20 +0000 (+0000) Subject: (Fwrite_region): Don't try to flush out a data twice. X-Git-Tag: emacs-20.1~879 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8e662997af070e32b49197e0dadc22c60f877549;p=emacs.git (Fwrite_region): Don't try to flush out a data twice. --- 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.") 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;