* fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
FILE_OVERWRITE_IF.
This commit is contained in:
parent
3adfd50973
commit
f6d9664b63
|
@ -1,3 +1,8 @@
|
||||||
|
2004-06-17 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
|
||||||
|
FILE_OVERWRITE_IF.
|
||||||
|
|
||||||
2004-06-09 Christopher Faylor <cgf@alum.bu.edu>
|
2004-06-09 Christopher Faylor <cgf@alum.bu.edu>
|
||||||
|
|
||||||
* include/cygwin/version.h: REALLY bump dll minor version to 11.
|
* include/cygwin/version.h: REALLY bump dll minor version to 11.
|
||||||
|
|
|
@ -602,7 +602,7 @@ fhandler_base::open (int flags, mode_t mode)
|
||||||
if ((flags & O_TRUNC) && ((flags & O_ACCMODE) != O_RDONLY))
|
if ((flags & O_TRUNC) && ((flags & O_ACCMODE) != O_RDONLY))
|
||||||
{
|
{
|
||||||
if (flags & O_CREAT)
|
if (flags & O_CREAT)
|
||||||
create_disposition = FILE_SUPERSEDE;
|
create_disposition = FILE_OVERWRITE_IF;
|
||||||
else
|
else
|
||||||
create_disposition = FILE_OVERWRITE;
|
create_disposition = FILE_OVERWRITE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue