Author: ion
Date: Mon Jan 8 10:43:18 2007
New Revision: 25365
URL:
http://svn.reactos.org/svn/reactos?rev=25365&view=rev
Log:
- Fix ntdll and usetup not to use OBJ_OPENLINK on symbolic links. This attribute is for
registry keys, not symlinks.
Modified:
trunk/reactos/base/setup/usetup/drivesup.c
trunk/reactos/dll/ntdll/ldr/utils.c
Modified: trunk/reactos/base/setup/usetup/drivesup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/drivesup…
==============================================================================
--- trunk/reactos/base/setup/usetup/drivesup.c (original)
+++ trunk/reactos/base/setup/usetup/drivesup.c Mon Jan 8 10:43:18 2007
@@ -51,7 +51,7 @@
InitializeObjectAttributes(&ObjectAttributes,
&LinkName,
- OBJ_OPENLINK,
+ OBJ_CASE_INSENSITIVE,
NULL,
NULL);
Modified: trunk/reactos/dll/ntdll/ldr/utils.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/utils.c?rev=…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/utils.c (original)
+++ trunk/reactos/dll/ntdll/ldr/utils.c Mon Jan 8 10:43:18 2007
@@ -344,7 +344,7 @@
L"KnownDllPath");
InitializeObjectAttributes(&ObjectAttributes,
&Name,
- OBJ_CASE_INSENSITIVE | OBJ_OPENLINK,
+ OBJ_CASE_INSENSITIVE,
LdrpKnownDllsDirHandle,
NULL);
Status = NtOpenSymbolicLinkObject(&LinkHandle,