Commit 95522746 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(Fwrite_region) [DOS_NT]: Remove O_TRUNC from open

flags argument to emacs_open; it seems to conflict with O_EXCL.
parent 28cd4910
2001-03-09 Gerd Moellmann <gerd@gnu.org>
* fileio.c (Fwrite_region) [DOS_NT]: Remove O_TRUNC from open
flags argument to emacs_open; it seems to conflict with O_EXCL.
2001-03-09 Kenichi Handa <handa@etl.go.jp>
* composite.h (struct composition): Change types of members;
......
......@@ -4684,8 +4684,8 @@ This does code conversion according to the value of\n\
#else /* not VMS */
#ifdef DOS_NT
desc = emacs_open (fn,
O_WRONLY | O_TRUNC | O_CREAT | buffer_file_type
| (mustbenew == Qexcl ? O_EXCL : 0),
O_WRONLY | O_CREAT | buffer_file_type
| (EQ (mustbenew, Qexcl) ? O_EXCL : O_TRUNC),
S_IREAD | S_IWRITE);
#else /* not DOS_NT */
desc = emacs_open (fn, O_WRONLY | O_TRUNC | O_CREAT
......
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