[ros-diffs] [greatlrd] 17911: revert my change from r17909. Thx hbirr to fix the bug with 17910.

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Sun Sep 18 15:36:40 CEST 2005


revert my change from r17909. Thx hbirr to fix the bug with 17910.
Modified: trunk/reactos/lib/kernel32/file/file.c
  _____  

Modified: trunk/reactos/lib/kernel32/file/file.c
--- trunk/reactos/lib/kernel32/file/file.c	2005-09-18 13:10:43 UTC
(rev 17910)
+++ trunk/reactos/lib/kernel32/file/file.c	2005-09-18 13:36:29 UTC
(rev 17911)
@@ -869,18 +869,12 @@

 			      NULL);
 
   /* Open the file */
-
-
   Status = NtOpenFile (&FileHandle,
-		       SYNCHRONIZE | GENERIC_ALL,
+		       SYNCHRONIZE | FILE_READ_ATTRIBUTES,
 		       &ObjectAttributes,
 		       &IoStatusBlock,
 		       FILE_SHARE_READ | FILE_SHARE_WRITE |
FILE_SHARE_DELETE,
 		       FILE_SYNCHRONOUS_IO_NONALERT);
-
-
-
-
   RtlFreeUnicodeString (&FileName);
   if (!NT_SUCCESS (Status))
     {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050918/ada5b894/attachment.html


More information about the Ros-diffs mailing list