Author: fireball Date: Tue Aug 5 14:07:27 2008 New Revision: 35132
URL: http://svn.reactos.org/svn/reactos?rev=35132&view=rev Log: - Revert 35131 till a more complete fix is available.
Modified: trunk/reactos/lib/3rdparty/libwine/debug.c
Modified: trunk/reactos/lib/3rdparty/libwine/debug.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/libwine/debug.... ============================================================================== --- trunk/reactos/lib/3rdparty/libwine/debug.c [iso-8859-1] (original) +++ trunk/reactos/lib/3rdparty/libwine/debug.c [iso-8859-1] Tue Aug 5 14:07:27 2008 @@ -42,16 +42,6 @@ IN ... );
-ULONG -__cdecl -vDbgPrintExWithPrefix( - IN LPCSTR Prefix, - IN ULONG ComponentId, - IN ULONG Level, - IN LPCSTR Format, - IN va_list ap); - - static const char * const debug_classes[] = { "fixme", "err", "warn", "trace" };
#define MAX_DEBUG_OPTIONS 256 @@ -394,7 +384,10 @@ /* default implementation of wine_dbg_vprintf */ static int default_dbg_vprintf( const char *format, va_list args ) { - return vDbgPrintExWithPrefix(NULL, -1, 0, format, args); + char buffer[512]; + vsnprintf( buffer, sizeof(buffer), format, args ); + buffer[sizeof(buffer) - 1] = '\0'; + return DbgPrint( "%s", buffer ); }