From 7f80d5ee79562ae8a7c78f0d0acf32581e69facf Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 5 Nov 2023 09:55:03 +0100 Subject: [PATCH] [CMLIB] Revert previous commit to avoid future merges of other devs because George is having an open Draft PR since July 2022, which might also touch this file on master in some years. And it ofc is easier for me to revert my work now, then for him to go through the great lengths of merging his work then. --- sdk/lib/cmlib/hivewrt.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/sdk/lib/cmlib/hivewrt.c b/sdk/lib/cmlib/hivewrt.c index 46800c21741..76bf72b1b45 100644 --- a/sdk/lib/cmlib/hivewrt.c +++ b/sdk/lib/cmlib/hivewrt.c @@ -13,8 +13,6 @@ static BOOLEAN CMAPI HvpWriteLog( PHHIVE RegistryHive) { - UNIMPLEMENTED_ONCE; -#if 0 // UNIMPLEMENTED ULONG FileOffset; UINT32 BufferSize; UINT32 BitmapSize; @@ -24,6 +22,13 @@ HvpWriteLog( ULONG LastIndex; PVOID BlockPtr; BOOLEAN Success; + static ULONG PrintCount = 0; + + if (PrintCount++ == 0) + { + UNIMPLEMENTED; + } + return TRUE; ASSERT(RegistryHive->ReadOnly == FALSE); ASSERT(RegistryHive->BaseBlock->Length == @@ -134,7 +139,7 @@ HvpWriteLog( { DPRINT("FileFlush failed\n"); } -#endif // UNIMPLEMENTED + return TRUE; }