changeset 18764:2ef1d8539441

(Fwrite_region) [DOS_NT]: Always use binary mode since coding conversion now takes care of NL -> CRLF.
author Richard M. Stallman <rms@gnu.org>
date Sun, 13 Jul 1997 20:37:01 +0000
parents 8f719bb518cc
children a407fb58d35f
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sun Jul 13 20:20:11 1997 +0000
+++ b/src/fileio.c	Sun Jul 13 20:37:01 1997 +0000
@@ -3799,8 +3799,7 @@
   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;