From cffd8968e3b761caed180bc883944853afcf488c Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Tue, 6 Apr 2004 07:57:59 +0000 Subject: [PATCH] * fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options". --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/fhandler_raw.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 2aaad0f16..25e7b6ae4 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-04-03 Corinna Vinschen + + * fhandler_raw.cc (fhandler_dev_raw::open): Actually use "options". + 2004-04-04 Gerd Spalink * fhandler_dsp.cc (fhandler_dev_dsp::ioctl): Add implementation 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));