aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1997-07-13 20:37:01 +0000
committerRichard M. Stallman <[email protected]>1997-07-13 20:37:01 +0000
commitfa228724ffaccc0bfe839549f7ea2a3c9959d3ab (patch)
treeeee067782b1e8b63d6f852b4022972695a7a450e
parent4916b5292635c38b4620fa51c5414f3892d26aee (diff)
(Fwrite_region) [DOS_NT]: Always use binary mode since
coding conversion now takes care of NL -> CRLF.
-rw-r--r--src/fileio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index bf1af48efc..eda3adf9dd 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.")
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5;
struct buffer *given_buffer;
#ifdef DOS_NT
- int buffer_file_type
- = NILP (current_buffer->buffer_file_type) ? O_TEXT : O_BINARY;
+ int buffer_file_type = O_BINARY;
#endif /* DOS_NT */
struct coding_system coding;