[Wine-patches] [eterhack] Hide needless fixmes.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Пн Мар 2 17:38:24 MSK 2009


----------- следующая часть -----------
From dadfb2e3fb48e98acd406c5cfe90ed13485151d4 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Mon, 2 Mar 2009 17:36:29 +0300
Subject: [PATCH] Hide needless fixmes.

---
 dlls/hal/hal.c               |    4 ++--
 dlls/ntoskrnl.exe/ntoskrnl.c |   18 +++++++++---------
 dlls/parport.sys/parport.c   |    2 +-
 3 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index c9fc920..48a67f1 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -135,7 +135,7 @@ BOOLEAN WINAPI HalTranslateBusAddress(INTERFACE_TYPE InterfaceType,
         ULONG BusNumber, PHYSICAL_ADDRESS BusAddress, PULONG AddressSpace,
         PPHYSICAL_ADDRESS TranslatedAddress)
 {
-    FIXME( "(%u %u %s %p %p)\n", InterfaceType, BusNumber,
+    TRACE( "(%u %u %s %p %p) semi-stub!\n", InterfaceType, BusNumber,
             wine_dbgstr_longlong(BusAddress.QuadPart), AddressSpace,
             TranslatedAddress );
     TranslatedAddress->QuadPart = BusAddress.QuadPart;
@@ -144,7 +144,7 @@ BOOLEAN WINAPI HalTranslateBusAddress(INTERFACE_TYPE InterfaceType,
 
 KIRQL WINAPI KeGetCurrentIrql(void)
 {
-    FIXME( "stub!\n" );
+    TRACE( "stub!\n" );
     return 0;
 }
 
diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c
index 927a6cf..60d24ef 100644
--- a/dlls/ntoskrnl.exe/ntoskrnl.c
+++ b/dlls/ntoskrnl.exe/ntoskrnl.c
@@ -766,7 +766,7 @@ PVOID WINAPI IoGetDriverObjectExtension( PDRIVER_OBJECT DriverObject,
  */
 PVOID WINAPI IoAllocateErrorLogEntry( PVOID IoObject, UCHAR EntrySize )
 {
-    FIXME( "%p, %u\n", IoObject, EntrySize );
+    TRACE( "%p, %u\n", IoObject, EntrySize );
     return ExAllocatePool( NonPagedPool, EntrySize );
 }
 
@@ -776,7 +776,7 @@ PVOID WINAPI IoAllocateErrorLogEntry( PVOID IoObject, UCHAR EntrySize )
  */
 void WINAPI IoWriteErrorLogEntry( PVOID ElEntry )
 {
-    FIXME( "%p\n", ElEntry );
+    TRACE( "%p\n", ElEntry );
     ExFreePool( ElEntry );
 }
 
@@ -1261,7 +1261,7 @@ NTSTATUS WINAPI IoQueryDeviceDescription( PINTERFACE_TYPE BusType,
                                           PIO_QUERY_DEVICE_ROUTINE CalloutRoutine,
                                           PVOID Context )
 {
-    FIXME( "%p %p %p %p %p %p %p %p\n", BusType, BusNumber, ControllerType,
+    TRACE( "stub: %p %p %p %p %p %p %p %p\n", BusType, BusNumber, ControllerType,
            ControllerNumber, PeripheralType, PeripheralNumber, CalloutRoutine,
            Context );
     return STATUS_NOT_IMPLEMENTED;
@@ -1553,7 +1553,7 @@ NTSTATUS WINAPI IofCallDriver( DEVICE_OBJECT *device, IRP *irp )
  */
 PDEVICE_OBJECT WINAPI IoGetAttachedDeviceReference( PDEVICE_OBJECT obj )
 {
-    FIXME( "stub: %p\n", obj );
+    TRACE( "stub: %p\n", obj );
     return obj;
 }
 
@@ -1849,7 +1849,7 @@ NTSTATUS WINAPI ExInitializeZone( PZONE_HEADER Zone, ULONG BlockSize,
  */
 PKTHREAD WINAPI KeGetCurrentThread(void)
 {
-    FIXME( "\n" );
+    TRACE( "stub\n" );
     return NULL;
 }
 
@@ -1952,7 +1952,7 @@ LONG WINAPI KeReleaseMutex( PRKMUTEX Mutex, BOOLEAN Wait )
  */
 void WINAPI KeInitializeSemaphore( PRKSEMAPHORE Semaphore, LONG Count, LONG Limit )
 {
-    FIXME("%p %d %d\n", Semaphore, Count, Limit);
+    TRACE("stub: %p %d %d\n", Semaphore, Count, Limit);
 }
 
 
@@ -1962,7 +1962,7 @@ void WINAPI KeInitializeSemaphore( PRKSEMAPHORE Semaphore, LONG Count, LONG Limi
 LONG WINAPI KeReleaseSemaphore( PRKSEMAPHORE Semaphore, KPRIORITY Increment,
                                 LONG Adjustment, BOOLEAN Wait )
 {
-    FIXME("%p %d %d %d\n", Semaphore, Increment, Adjustment, Wait);
+    TRACE("stub: %p %d %d %d\n", Semaphore, Increment, Adjustment, Wait);
     return 0;
 }
 
@@ -2210,7 +2210,7 @@ NTSTATUS WINAPI ObReferenceObjectByPointer( VOID *obj, ACCESS_MASK access,
                                             POBJECT_TYPE type,
                                             KPROCESSOR_MODE mode )
 {
-    FIXME( "stub: %p %x %p %d\n", obj, access, type, mode );
+    TRACE( "stub: %p %x %p %d\n", obj, access, type, mode );
     return STATUS_NOT_IMPLEMENTED;
 }
 
@@ -2225,7 +2225,7 @@ void WINAPI __regs_ObfDereferenceObject( VOID *obj )
 void WINAPI ObfDereferenceObject( VOID *obj )
 #endif
 {
-    FIXME( "stub: %p\n", obj );
+    TRACE( "stub: %p\n", obj );
 }
 
 
diff --git a/dlls/parport.sys/parport.c b/dlls/parport.sys/parport.c
index d84abcb..5fe3d3a 100644
--- a/dlls/parport.sys/parport.c
+++ b/dlls/parport.sys/parport.c
@@ -116,7 +116,7 @@ static NTSTATUS WINAPI parport_ioctl( DEVICE_OBJECT *device, IRP *irp )
         break;
     }
     case IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO:
-        FIXME( "IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO: stub\n" );
+        TRACE( "IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO: stub\n" );
         irp->IoStatus.Information = 0;
         status = STATUS_SUCCESS;
         break;
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches