diff options
| author | Richard M. Stallman | 1997-07-13 20:37:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1997-07-13 20:37:01 +0000 |
| commit | fa228724ffaccc0bfe839549f7ea2a3c9959d3ab (patch) | |
| tree | eee067782b1e8b63d6f852b4022972695a7a450e /src | |
| parent | 4916b5292635c38b4620fa51c5414f3892d26aee (diff) | |
| download | emacs-fa228724ffaccc0bfe839549f7ea2a3c9959d3ab.tar.gz emacs-fa228724ffaccc0bfe839549f7ea2a3c9959d3ab.zip | |
(Fwrite_region) [DOS_NT]: Always use binary mode since
coding conversion now takes care of NL -> CRLF.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index bf1af48efc7..eda3adf9ddd 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3799,8 +3799,7 @@ to the file, instead of any buffer contents, and END is ignored.") | |||
| 3799 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; | 3799 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; |
| 3800 | struct buffer *given_buffer; | 3800 | struct buffer *given_buffer; |
| 3801 | #ifdef DOS_NT | 3801 | #ifdef DOS_NT |
| 3802 | int buffer_file_type | 3802 | int buffer_file_type = O_BINARY; |
| 3803 | = NILP (current_buffer->buffer_file_type) ? O_TEXT : O_BINARY; | ||
| 3804 | #endif /* DOS_NT */ | 3803 | #endif /* DOS_NT */ |
| 3805 | struct coding_system coding; | 3804 | struct coding_system coding; |
| 3806 | 3805 | ||