From fa228724ffaccc0bfe839549f7ea2a3c9959d3ab Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 13 Jul 1997 20:37:01 +0000 Subject: [PATCH] (Fwrite_region) [DOS_NT]: Always use binary mode since coding conversion now takes care of NL -> CRLF. --- src/fileio.c | 3 +-- 1 file changed, 1 insertion(+), 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.") 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; -- 2.39.5