Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2004-04-06 11:57:59 +0400
committerCorinna Vinschen <corinna@vinschen.de>2004-04-06 11:57:59 +0400
commitcffd8968e3b761caed180bc883944853afcf488c (patch)
treec6852bf08b5d2eae965c6d2506967c040486f43f /winsup/cygwin/fhandler_raw.cc
parent7a1d1d90cd6f3635bfff8889c56c8d11513c4521 (diff)
* fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options".
Diffstat (limited to 'winsup/cygwin/fhandler_raw.cc')
-rw-r--r--winsup/cygwin/fhandler_raw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_raw.cc b/winsup/cygwin/fhandler_raw.cc
index 44c449561..c54ca5c53 100644
--- a/winsup/cygwin/fhandler_raw.cc
+++ b/winsup/cygwin/fhandler_raw.cc
@@ -181,7 +181,7 @@ fhandler_dev_raw::open (int flags, mode_t)
HANDLE h;
IO_STATUS_BLOCK io;
NTSTATUS status = NtOpenFile (&h, access, &attr, &io, 0 /* excl. access */,
- FILE_SYNCHRONOUS_IO_NONALERT);
+ options);
if (!NT_SUCCESS (status))
{
__seterrno_from_win_error (RtlNtStatusToDosError (status));