[ros-diffs] [fireball] 53316: - Unbreak trunk for now. Proper fix will come shortly.

fireball at svn.reactos.org fireball at svn.reactos.org
Fri Aug 19 15:32:07 UTC 2011


Author: fireball
Date: Fri Aug 19 15:32:07 2011
New Revision: 53316

URL: http://svn.reactos.org/svn/reactos?rev=53316&view=rev
Log:
- Unbreak trunk for now. Proper fix will come shortly.

Modified:
    trunk/reactos/dll/ntdll/ldr/ldrinit.c

Modified: trunk/reactos/dll/ntdll/ldr/ldrinit.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrinit.c?rev=53316&r1=53315&r2=53316&view=diff
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrinit.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrinit.c [iso-8859-1] Fri Aug 19 15:32:07 2011
@@ -1311,15 +1311,16 @@
 NTAPI
 LdrpInitializeExecutionOptions(PUNICODE_STRING ImagePathName, PPEB Peb, PHKEY OptionsKey)
 {
-    NTSTATUS Status;
-    HKEY KeyHandle;
-    ULONG ExecuteOptions, MinimumStackCommit = 0, GlobalFlag;
+    //NTSTATUS Status;
+    //HKEY KeyHandle;
+    //ULONG ExecuteOptions, MinimumStackCommit = 0, GlobalFlag;
 
     /* Return error if we were not provided a pointer where to save the options key handle */
     if (!OptionsKey) return STATUS_INVALID_HANDLE;
 
     /* Zero initialize the optinos key pointer */
     *OptionsKey = NULL;
+#if 0
 
     /* Open the options key */
     Status = LdrOpenImageFileOptionsKey(ImagePathName, 0, &KeyHandle);
@@ -1408,7 +1409,7 @@
             // Status = LdrpInitializeApplicationVerifierPackage(ImagePathName, Peb, 1, FALSE);
         }
     }
-
+#endif
     return STATUS_SUCCESS;
 }
 
@@ -2082,7 +2083,7 @@
         Peb->PostProcessInitRoutine();
     }
 
-    ///* Close the key if we have one opened */
+    /* Close the key if we have one opened */
     if (OptionsKey) NtClose(OptionsKey);
 
     /* Return status */




More information about the Ros-diffs mailing list