mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Open the file for synchronous access in OpenFile.
svn path=/trunk/; revision=6921
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* $Id: file.c,v 1.46 2003/08/07 09:05:43 hbirr Exp $
|
||||
/* $Id: file.c,v 1.47 2003/12/08 19:50:31 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS system libraries
|
||||
@@ -144,7 +144,7 @@ OpenFile(LPCSTR lpFileName,
|
||||
&ObjectAttributes,
|
||||
&IoStatusBlock,
|
||||
FILE_SHARE_READ,
|
||||
FILE_NON_DIRECTORY_FILE);
|
||||
FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT);
|
||||
|
||||
RtlFreeUnicodeString(&FileNameString);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user