https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7f80d5ee79562ae8a7c78f0d0acf32581e69facf
commit 7f80d5ee79562ae8a7c78f0d0acf32581e69facf Author: Joachim Henze <joachim.he...@reactos.org> AuthorDate: Sun Nov 5 09:55:03 2023 +0100 Commit: Joachim Henze <joachim.he...@reactos.org> CommitDate: Sun Nov 5 09:55:03 2023 +0100 [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; }