ntdll: Make RtlCompactHeap more silent
Detlef Riekenberg
wine.dev at web.de
Mon Aug 27 13:42:38 CDT 2007
The FIXME in RtlCompactHeap flood the console in Adobe Reader 6
Changelog:
- ntdll: Make RtlCompactHeap more silent
--
By by ... Detlef
-------------- next part --------------
>From c05ef088446a89261d7262d4e7f30017dbefc9d4 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Mon, 27 Aug 2007 17:11:36 +0200
Subject: [PATCH] ntdll: Make RtlCompactHeap more silent
---
dlls/ntdll/heap.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/dlls/ntdll/heap.c b/dlls/ntdll/heap.c
index 1369b0d..7b75523 100644
--- a/dlls/ntdll/heap.c
+++ b/dlls/ntdll/heap.c
@@ -1461,7 +1461,15 @@ error:
*/
ULONG WINAPI RtlCompactHeap( HANDLE heap, ULONG flags )
{
- FIXME( "stub\n" );
+ static BOOL reported = FALSE;
+ if (!reported) {
+ FIXME( "(%p, 0x%x) stub\n", heap, flags );
+ reported = TRUE;
+ }
+ else
+ {
+ TRACE( "(%p, 0x%x) stub\n", heap, flags );
+ }
return 0;
}
--
1.4.1
More information about the wine-patches
mailing list