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:
parent
4916b52926
commit
fa228724ff
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue