[ros-diffs] [navaraf] 12907: Open the DLL files as FILE_SHARE_READ
to prevent sharing violations.
navaraf at svn.reactos.com
navaraf at svn.reactos.com
Sun Jan 9 15:16:38 CET 2005
Open the DLL files as FILE_SHARE_READ to prevent sharing violations.
Modified: trunk/reactos/lib/ntdll/ldr/utils.c
_____
Modified: trunk/reactos/lib/ntdll/ldr/utils.c
--- trunk/reactos/lib/ntdll/ldr/utils.c 2005-01-09 14:11:25 UTC (rev
12906)
+++ trunk/reactos/lib/ntdll/ldr/utils.c 2005-01-09 14:16:36 UTC (rev
12907)
@@ -618,7 +618,7 @@
GENERIC_READ|SYNCHRONIZE,
&FileObjectAttributes,
&IoStatusBlock,
- 0,
+ FILE_SHARE_READ,
FILE_SYNCHRONOUS_IO_NONALERT);
if (!NT_SUCCESS(Status))
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050109/69b11025/attachment.html
More information about the Ros-diffs
mailing list