mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
- Fix a bug in FreeLdr key creation (patch by Filip Navara).
- Make cmlib use the StorageTypeCount value since my new Cm code needs it. svn path=/trunk/; revision=24538
This commit is contained in:
parent
6ea6b76acd
commit
d280d7f5a7
3 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,7 @@ RegCreateKey(FRLDRHKEY ParentKey,
|
|||
CmpResult = _wcsnicmp(SearchKey->Name, name, subkeyLength);
|
||||
if (CmpResult == 0 && SearchKey->NameSize == NameSize)
|
||||
break;
|
||||
else if (CmpResult == 1)
|
||||
else if (CmpResult == -1)
|
||||
break;
|
||||
|
||||
Ptr = Ptr->Flink;
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
* the other bits specify index into the hive file. The value HCELL_NULL
|
||||
* (-1) is reserved for marking invalid cells.
|
||||
*/
|
||||
|
||||
typedef ULONG HCELL_INDEX, *PHCELL_INDEX;
|
||||
|
||||
#define HCELL_NULL ((HCELL_INDEX)-1)
|
||||
|
|
|
@ -333,6 +333,7 @@ HvInitialize(
|
|||
Hive->FileWrite = FileWrite;
|
||||
Hive->FileSetSize = FileSetSize;
|
||||
Hive->FileFlush = FileFlush;
|
||||
Hive->StorageTypeCount = 2;
|
||||
|
||||
switch (Operation)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue