--- trunk/reactos/lib/kernel32/file/file.c 2005-09-18 11:18:28 UTC (rev 17908)
+++ trunk/reactos/lib/kernel32/file/file.c 2005-09-18 12:05:57 UTC (rev 17909)
@@ -869,12 +869,18 @@
NULL);
/* Open the file */
+
+
Status = NtOpenFile (&FileHandle,
- SYNCHRONIZE | FILE_READ_ATTRIBUTES,
+ SYNCHRONIZE | GENERIC_ALL,
&ObjectAttributes,
&IoStatusBlock,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
FILE_SYNCHRONOUS_IO_NONALERT);
+
+
+
+
RtlFreeUnicodeString (&FileName);
if (!NT_SUCCESS (Status))
{