diff options
| author | Kenichi Handa | 1997-08-01 01:36:20 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1997-08-01 01:36:20 +0000 |
| commit | 8e662997af070e32b49197e0dadc22c60f877549 (patch) | |
| tree | 820f9cbed83ca0db5d51ac990f2a255c913649cf /src | |
| parent | 40e82ac184d3ab1001f86aa128487d2b01320a1e (diff) | |
| download | emacs-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.c | 2 |
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; |