Author: jgardou
Date: Fri Oct 3 22:19:07 2014
New Revision: 64516
URL:
http://svn.reactos.org/svn/reactos?rev=64516&view=rev
Log:
[MKHIVE]
- Perform a case insensitive comparison to find existing subkeys in the tree.
Dedicated to Hervé ;-)
Modified:
trunk/reactos/tools/mkhive/registry.c
Modified: trunk/reactos/tools/mkhive/registry.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/mkhive/registry.c?re…
==============================================================================
--- trunk/reactos/tools/mkhive/registry.c [iso-8859-1] (original)
+++ trunk/reactos/tools/mkhive/registry.c [iso-8859-1] Fri Oct 3 22:19:07 2014
@@ -20,7 +20,7 @@
* PROJECT: ReactOS hive maker
* FILE: tools/mkhive/registry.c
* PURPOSE: Registry code
- * PROGRAMMER: Hervé Poussineau
+ * PROGRAMMER: Hervé Poussineau
*/
/*
@@ -159,7 +159,7 @@
{
CurrentKey = CONTAINING_RECORD(Ptr, KEY, KeyList);
if (CurrentKey->NameSize == KeyString.Length
- && memcmp(CurrentKey->Name, KeyString.Buffer, KeyString.Length) == 0)
+ && strncmpiW(CurrentKey->Name, KeyString.Buffer, KeyString.Length /
sizeof(WCHAR)) == 0)
{
goto nextsubkey;
}