1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 07:11:34 -08:00

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

coding conversion now takes care of NL -> CRLF.
This commit is contained in:
Richard M. Stallman 1997-07-13 20:37:01 +00:00
parent 4916b52926
commit fa228724ff

View file

@ -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;