Commit fa228724 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fwrite_region) [DOS_NT]: Always use binary mode since

coding conversion now takes care of NL -> CRLF.
parent 4916b529
...@@ -3799,8 +3799,7 @@ to the file, instead of any buffer contents, and END is ignored.") ...@@ -3799,8 +3799,7 @@ to the file, instead of any buffer contents, and END is ignored.")
struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5; struct gcpro gcpro1, gcpro2, gcpro3, gcpro4, gcpro5;
struct buffer *given_buffer; struct buffer *given_buffer;
#ifdef DOS_NT #ifdef DOS_NT
int buffer_file_type int buffer_file_type = O_BINARY;
= NILP (current_buffer->buffer_file_type) ? O_TEXT : O_BINARY;
#endif /* DOS_NT */ #endif /* DOS_NT */
struct coding_system coding; struct coding_system coding;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment