PATCH: Make wineboot traces more useful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog:
	Make Trace output produced by wineboot more useful.

-- 
Matthew Davison <m.davison@virgin.net>
Index: wineboot.c
===================================================================
RCS file: /home/wine/wine/programs/wineboot/wineboot.c,v
retrieving revision 1.6
diff -u -r1.6 wineboot.c
--- wineboot.c	15 Jan 2003 00:52:36 -0000	1.6
+++ wineboot.c	3 Feb 2003 20:59:40 -0000
@@ -379,7 +379,8 @@
         return INVALID_RUNCMD_RETURN;
     }
 
-    WINE_TRACE("Successfully ran command - Created process handle %p\n", info.hProcess );
+    WINE_TRACE("Successfully ran command %s - Created process handle %p\n", 
+               wine_dbgstr_w((WCHAR *)cmdline), info.hProcess );
 
     if(wait)
     {   /* wait for the process to exit */
@@ -413,7 +414,10 @@
     WCHAR *szCmdLine=NULL;
     WCHAR *szValue=NULL;
 
-    WINE_TRACE("entered\n");
+    if (hkRoot==HKEY_LOCAL_MACHINE)
+        WINE_TRACE("processing %s entries under HKLM\n",wine_dbgstr_w((WCHAR *)szKeyName) );
+    else
+        WINE_TRACE("processing %s entries under HKCU\n",wine_dbgstr_w((WCHAR *)szKeyName) );
 
     if( (res=RegOpenKeyExW( hkRoot, WINKEY_NAME, 0, KEY_READ, &hkWin ))!=ERROR_SUCCESS )
     {

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux