projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4916b52
)
(Fwrite_region) [DOS_NT]: Always use binary mode since
author
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Jul 1997 20:37:01 +0000
(20:37 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 13 Jul 1997 20:37:01 +0000
(20:37 +0000)
coding conversion now takes care of NL -> CRLF.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index bf1af48efc790177ae07db04d33e750eefe9987f..eda3adf9ddd4a294050e22d32b4b376e74b8dbdc 100644
(file)
--- 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;