[MPlayer-dev-eng] [PATCH] make Win32 loader less verbose
Diego Biurrun
diego at biurrun.de
Sun Apr 18 06:45:37 CEST 2004
Diego Biurrun writes:
> Here is another patch that silences some loader messages of "moderate"
> usefulness by changing printf to dbgprintf. The messages print
>
> FATAL releasing corrupted memory! 0x861a5a8 0x0 (13)
>
> I doubt this is useful for anything except hardcore debugging...
Since nobody reacted, here is another version that silences one more
printf..
OK to commit?
Diego
--- loader/win32.c 27 Mar 2004 13:57:47 -0000 1.87
+++ loader/win32.c 18 Apr 2004 04:44:48 -0000
@@ -403,7 +403,7 @@
if (header->deadbeef != (long) 0xdeadbeef)
{
- printf("FATAL releasing corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
+ dbgprintf("FATAL releasing corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
return 0;
}
@@ -1663,7 +1663,7 @@
{
if (header->deadbeef != 0xdeadbeef)
{
- printf("FATAL found corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
+ dbgprintf("FATAL found corrupted memory! %p 0x%lx (%d)\n", header, header->deadbeef, alccnt);
break;
}
@@ -5332,7 +5332,7 @@
if (--max_fatal < 0)
break;
}
- printf("Total Unfree %d bytes cnt %d [%p,%d]\n",unfree, unfreecnt, last_alloc, alccnt);
+ dbgprintf("Total Unfree %d bytes cnt %d [%p,%d]\n",unfree, unfreecnt, last_alloc, alccnt);
#endif
g_tls = NULL;
list = NULL;
More information about the MPlayer-dev-eng
mailing list