Add missing '\n's to debug traces

Francois Gouget fgouget at free.fr
Sat Jan 24 13:49:48 CST 2004


Some of Wine's debug messages were missing a trailing '\n'. I know that
in some cases this is intentional. So I checked the following manually
one at a time and I believe these should really have one.


Changelog:

 * controls/menu.c
   dlls/advapi32/security.c
   dlls/avifil32/editstream.c
   dlls/cabinet/cabextract.c
   dlls/comctl32/commctrl.c
   dlls/comctl32/propsheet.c
   dlls/commdlg/filedlg.c
   dlls/ddraw/mesa.c
   dlls/gdi/bidi.c
   dlls/kernel/computername.c
   dlls/kernel/ne_segment.c
   dlls/msvideo/msrle32/msrle32.c
   dlls/netapi32/nbt.c
   dlls/oleaut32/typelib2.c
   dlls/rpcrt4/rpc_binding.c
   dlls/rpcrt4/rpc_server.c
   dlls/setupapi/setupcab.c
   dlls/shell32/changenotify.c
   dlls/shell32/pidl.c
   dlls/shell32/shlfileop.c
   dlls/shell32/shlfsbind.c
   dlls/shlwapi/ordinal.c
   dlls/shlwapi/reg.c
   dlls/shlwapi/thread.c
   dlls/user/exticon.c
   dlls/user/resource.c
   dlls/wininet/urlcache.c
   dlls/winmm/winealsa/audio_05.c
   dlls/winmm/wineoss/audio.c
   dlls/wsock32/service.c
   dlls/wsock32/socket.c
   dlls/x11drv/xrandr.c
   windows/user.c

   Add missing '\n's to debug traces


Index: controls/menu.c
===================================================================
RCS file: /home/cvs/wine/controls/menu.c,v
retrieving revision 1.172
diff -u -r1.172 menu.c
--- controls/menu.c	10 Dec 2003 04:14:35 -0000	1.172
+++ controls/menu.c	24 Jan 2004 16:30:54 -0000
@@ -4746,7 +4746,7 @@
          */
         TRACE_(accel)(", but won't send WM_{SYS}COMMAND, reason is #%d\n",mesg);
         if(mesg==0)
-            ERR_(accel)(" unknown reason - please report!");
+            ERR_(accel)(" unknown reason - please report!\n");
     }
     return TRUE;
 }
Index: dlls/advapi32/security.c
===================================================================
RCS file: /home/cvs/wine/dlls/advapi32/security.c,v
retrieving revision 1.63
diff -u -r1.63 security.c
--- dlls/advapi32/security.c	30 Dec 2003 19:21:11 -0000	1.63
+++ dlls/advapi32/security.c	24 Jan 2004 16:30:55 -0000
@@ -1806,7 +1806,7 @@
         /* Parse ACE object guid */
         if (*StringAcl != ';')
         {
-            FIXME("Support for *_OBJECT_ACE_TYPE not implemented");
+            FIXME("Support for *_OBJECT_ACE_TYPE not implemented\n");
             goto lerr;
         }
         StringAcl++;
@@ -1814,7 +1814,7 @@
         /* Parse ACE inherit object guid */
         if (*StringAcl != ';')
         {
-            FIXME("Support for *_OBJECT_ACE_TYPE not implemented");
+            FIXME("Support for *_OBJECT_ACE_TYPE not implemented\n");
             goto lerr;
         }
         StringAcl++;
Index: dlls/avifil32/editstream.c
===================================================================
RCS file: /home/cvs/wine/dlls/avifil32/editstream.c,v
retrieving revision 1.2
diff -u -r1.2 editstream.c
--- dlls/avifil32/editstream.c	25 Nov 2003 00:07:25 -0000	1.2
+++ dlls/avifil32/editstream.c	24 Jan 2004 16:30:55 -0000
@@ -771,7 +771,7 @@
 {
   ICOM_THIS(IAVIEditStreamImpl,iface);

-  TRACE("(%p,%p,%ld)",iface,asi,size);
+  TRACE("(%p,%p,%ld)\n",iface,asi,size);

   /* check parameters */
   if (asi == NULL)
@@ -1061,7 +1061,7 @@
                                              LONG buffersize,DWORD flags,
                                              LONG*sampwritten,LONG*byteswritten)
 {
-  TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)",iface,start,samples,buffer,
+  TRACE("(%p,%ld,%ld,%p,%ld,0x%08lX,%p,%p)\n",iface,start,samples,buffer,
         buffersize,flags,sampwritten,byteswritten);

   /* be sure return parameters have correct values */
@@ -1089,7 +1089,7 @@
   IAVIEditStreamImpl* const This = ((IEditAVIStreamImpl* const)iface)->pae;
   DWORD n;

-  TRACE("(%p,0x%08lX,%p,%p)",iface,fcc,lp,lpread);
+  TRACE("(%p,0x%08lX,%p,%p)\n",iface,fcc,lp,lpread);

   /* check parameters */
   if (lp == NULL || lpread == NULL)
@@ -1110,7 +1110,7 @@
 static HRESULT WINAPI IEditAVIStream_fnWriteData(IAVIStream*iface,DWORD fcc,
                                                  LPVOID lp,LONG size)
 {
-  TRACE("(%p,0x%08lX,%p,%ld)",iface,fcc,lp,size);
+  TRACE("(%p,0x%08lX,%p,%ld)\n",iface,fcc,lp,size);

   return AVIERR_UNSUPPORTED;
 }
Index: dlls/cabinet/cabextract.c
===================================================================
RCS file: /home/cvs/wine/dlls/cabinet/cabextract.c,v
retrieving revision 1.12
diff -u -r1.12 cabextract.c
--- dlls/cabinet/cabextract.c	8 Jan 2004 00:42:36 -0000	1.12
+++ dlls/cabinet/cabextract.c	24 Jan 2004 16:30:55 -0000
@@ -66,7 +66,7 @@
   /* seek to end of file and get the length */
   if ((cab->filelen = SetFilePointer(fh, 0, NULL, FILE_END)) == INVALID_SET_FILE_POINTER) {
     if (GetLastError() != NO_ERROR) {
-      ERR("Seek END failed: %s", debugstr_a(name));
+      ERR("Seek END failed: %s\n", debugstr_a(name));
       CloseHandle(fh);
       return FALSE;
     }
@@ -74,7 +74,7 @@

   /* return to the start of the file */
   if (SetFilePointer(fh, 0, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER) {
-    ERR("Seek BEGIN failed: %s", debugstr_a(name));
+    ERR("Seek BEGIN failed: %s\n", debugstr_a(name));
     CloseHandle(fh);
     return FALSE;
   }
@@ -220,7 +220,7 @@
       fi->fh = 0;
     }
   } else
-    ERR("Couldn't ensure filepath for %s", debugstr_a(name));
+    ERR("Couldn't ensure filepath for %s\n", debugstr_a(name));

   if (!ok) {
     ERR("Couldn't open file %s for writing\n", debugstr_a(name));
@@ -279,7 +279,7 @@
   TRACE("(cab == ^%p, distance == %u)\n", cab, distance);
   if (SetFilePointer(cab->fh, distance, NULL, FILE_CURRENT) == INVALID_SET_FILE_POINTER) {
     if (distance != INVALID_SET_FILE_POINTER)
-      ERR("%s", debugstr_a((char *) cab->filename));
+      ERR("%s\n", debugstr_a((char *) cab->filename));
   }
 }

@@ -2091,7 +2091,7 @@
     }

     do {
-      TRACE("trying cab == %s", debugstr_a(cab));
+      TRACE("trying cab == %s\n", debugstr_a(cab));

       /* we don't want null cabinet filenames */
       if (name[0] == '\0') {
Index: dlls/comctl32/commctrl.c
===================================================================
RCS file: /home/cvs/wine/dlls/comctl32/commctrl.c,v
retrieving revision 1.71
diff -u -r1.71 commctrl.c
--- dlls/comctl32/commctrl.c	11 Sep 2003 01:03:27 -0000	1.71
+++ dlls/comctl32/commctrl.c	24 Jan 2004 16:30:55 -0000
@@ -1086,7 +1086,7 @@
       stack = (LPSUBCLASS_INFO)HeapAlloc (GetProcessHeap(), HEAP_ZERO_MEMORY,
                                          sizeof(SUBCLASS_INFO));
       if (!stack) {
-         ERR ("Failed to allocate our Subclassing stack");
+         ERR ("Failed to allocate our Subclassing stack\n");
          return FALSE;
       }
       SetPropA (hWnd, COMCTL32_aSubclass, (HANDLE)stack);
@@ -1121,7 +1121,7 @@
       }

    if ((stack->stacknum + stack->stacknew) >= 32) {
-      ERR ("We have a Subclass stack overflow, please increment size");
+      ERR ("We have a Subclass stack overflow, please increment size\n");
       return FALSE;
    }

Index: dlls/comctl32/propsheet.c
===================================================================
RCS file: /home/cvs/wine/dlls/comctl32/propsheet.c,v
retrieving revision 1.92
diff -u -r1.92 propsheet.c
--- dlls/comctl32/propsheet.c	4 Nov 2003 04:23:00 -0000	1.92
+++ dlls/comctl32/propsheet.c	24 Jan 2004 16:30:56 -0000
@@ -321,7 +321,7 @@

   if (dwFlags & PSH_USEPSTARTPAGE)
   {
-    TRACE("PSH_USEPSTARTPAGE is on");
+    TRACE("PSH_USEPSTARTPAGE is on\n");
     psInfo->active_page = 0;
   }
   else
@@ -375,7 +375,7 @@

   if (dwFlags & PSH_USEPSTARTPAGE)
   {
-    TRACE("PSH_USEPSTARTPAGE is on");
+    TRACE("PSH_USEPSTARTPAGE is on\n");
     psInfo->active_page = 0;
   }
   else
Index: dlls/commdlg/filedlg.c
===================================================================
RCS file: /home/cvs/wine/dlls/commdlg/filedlg.c,v
retrieving revision 1.72
diff -u -r1.72 filedlg.c
--- dlls/commdlg/filedlg.c	19 Jan 2004 21:51:29 -0000	1.72
+++ dlls/commdlg/filedlg.c	24 Jan 2004 18:27:06 -0000
@@ -1560,9 +1560,9 @@
   if ( !(fodInfos->ofnInfos->Flags & OFN_EXPLORER) )
   {
     /* For "oldstyle" dialog the components have to
-       be spearated by blanks (not '\0'!) and short
+       be separated by blanks (not '\0'!) and short
        filenames have to be used! */
-    FIXME("Components have to be separated by blanks");
+    FIXME("Components have to be separated by blanks\n");
   }
   if(fodInfos->unicode)
   {
Index: dlls/ddraw/mesa.c
===================================================================
RCS file: /home/cvs/wine/dlls/ddraw/mesa.c,v
retrieving revision 1.58
diff -u -r1.58 mesa.c
--- dlls/ddraw/mesa.c	17 Nov 2003 20:02:33 -0000	1.58
+++ dlls/ddraw/mesa.c	24 Jan 2004 16:31:00 -0000
@@ -702,7 +702,7 @@
 		    if (colorkey_active) {
 			/* This texture format will never be used.. So do not care about color keying
 			   up until the point in time it will be needed :-) */
-			FIXME(" ColorKeying not supported in the RGB 332 format !");
+			FIXME(" ColorKeying not supported in the RGB 332 format !\n");
 		    }
 		    current_format = GL_RGB;
 		    internal_format = GL_RGB;
Index: dlls/gdi/bidi.c
===================================================================
RCS file: /home/cvs/wine/dlls/gdi/bidi.c,v
retrieving revision 1.4
diff -u -r1.4 bidi.c
--- dlls/gdi/bidi.c	16 Jan 2004 02:01:32 -0000	1.4
+++ dlls/gdi/bidi.c	24 Jan 2004 18:37:04 -0000
@@ -56,10 +56,9 @@
     )
 {
 #ifdef HAVE_ICU
-    TRACE("%s, %d, 0x%08lx\n",
-          debugstr_wn(lpString, uCount), uCount, dwFlags);
-
-    TRACE("lpOutString=%p, lpOrder=%p", lpOutString, lpOrder );
+    TRACE("%s, %d, 0x%08lx lpOutString=%p, lpOrder=%p\n",
+          debugstr_wn(lpString, uCount), uCount, dwFlags,
+          lpOutString, lpOrder);

     if ((dwFlags & GCP_REORDER) != 0) {
         UBiDi *bidi;
Index: dlls/kernel/computername.c
===================================================================
RCS file: /home/cvs/wine/dlls/kernel/computername.c,v
retrieving revision 1.8
diff -u -r1.8 computername.c
--- dlls/kernel/computername.c	27 Nov 2003 00:59:36 -0000	1.8
+++ dlls/kernel/computername.c	24 Jan 2004 16:31:05 -0000
@@ -271,7 +271,7 @@
         len = MultiByteToWideChar( CP_ACP, 0, hbuf, hlen + 1, computer_name, MAX_COMPUTERNAME_LENGTH + 1 )
             * sizeof( WCHAR );
         if ( NtSetValueKey( hsubkey, &nameW, 0, REG_SZ, computer_name, len ) != STATUS_SUCCESS )
-            WARN ( "failed to set ComputerName" );
+            WARN ( "failed to set ComputerName\n" );
     }
     else if ( st == STATUS_SUCCESS)
     {
Index: dlls/kernel/ne_segment.c
===================================================================
RCS file: /home/cvs/wine/dlls/kernel/ne_segment.c,v
retrieving revision 1.7
diff -u -r1.7 ne_segment.c
--- dlls/kernel/ne_segment.c	8 Dec 2003 21:58:56 -0000	1.7
+++ dlls/kernel/ne_segment.c	24 Jan 2004 18:39:15 -0000
@@ -205,7 +205,7 @@
       char* curr = buff;

       if(buff == NULL) {
-          WARN_(dll)("Memory exausted!");
+          WARN_(dll)("Memory exhausted!\n");
           goto fail;
       }

@@ -242,7 +242,7 @@

     reloc_entries = (struct relocation_entry_s *)HeapAlloc(GetProcessHeap(), 0, count * sizeof(struct relocation_entry_s));
     if(reloc_entries == NULL) {
-        WARN("Not enough memory for relocation entries!");
+        WARN("Not enough memory for relocation entries!\n");
         goto fail;
     }
     if (!ReadFile( hf, reloc_entries, count * sizeof(struct relocation_entry_s), &res, NULL) ||
@@ -853,7 +853,7 @@
                                              newSize*sizeof(NE_MODULE *) );
         if ( !newModule )
         {
-            FIXME_(dll)("Out of memory!");
+            FIXME_(dll)("Out of memory!\n");
             return;
         }

Index: dlls/msvideo/msrle32/msrle32.c
===================================================================
RCS file: /home/cvs/wine/dlls/msvideo/msrle32/msrle32.c,v
retrieving revision 1.8
diff -u -r1.8 msrle32.c
--- dlls/msvideo/msrle32/msrle32.c	9 Jul 2003 02:52:58 -0000	1.8
+++ dlls/msvideo/msrle32/msrle32.c	24 Jan 2004 16:31:09 -0000
@@ -1461,7 +1461,7 @@
   } else if ((lpic->dwFlags & ICCOMPRESS_KEYFRAME) == 0) {
     LPWORD pTmp;

-    WARN(": prev=%ld cur=%ld gone back? -- untested",pi->nPrevFrame,lpic->lFrameNum);
+    WARN(": prev=%ld cur=%ld gone back? -- untested\n",pi->nPrevFrame,lpic->lFrameNum);
     if (lpic->lpbiPrev == NULL || lpic->lpPrev == NULL)
       return ICERR_GOTOKEYFRAME; /* Need a keyframe if you go back */
     if (CompressQuery(pi, lpic->lpbiPrev, lpic->lpbiOutput) != ICERR_OK)
Index: dlls/netapi32/nbt.c
===================================================================
RCS file: /home/cvs/wine/dlls/netapi32/nbt.c,v
retrieving revision 1.5
diff -u -r1.5 nbt.c
--- dlls/netapi32/nbt.c	15 Jan 2004 00:25:41 -0000	1.5
+++ dlls/netapi32/nbt.c	24 Jan 2004 16:31:10 -0000
@@ -977,7 +977,7 @@
     UCHAR ret;
     const NBNameCacheEntry *cacheEntry = NULL;

-    TRACE("adapt %p, ncb %p", adapt, ncb);
+    TRACE("adapt %p, ncb %p\n", adapt, ncb);

     if (!adapter) return NRC_ENVNOTDEF;
     if (!ncb) return NRC_INVADDRESS;
Index: dlls/oleaut32/typelib2.c
===================================================================
RCS file: /home/cvs/wine/dlls/oleaut32/typelib2.c,v
retrieving revision 1.1
diff -u -r1.1 typelib2.c
--- dlls/oleaut32/typelib2.c	21 Jan 2004 22:24:08 -0000	1.1
+++ dlls/oleaut32/typelib2.c	24 Jan 2004 16:31:15 -0000
@@ -1033,7 +1033,7 @@
     TRACE("(%p,%d,%s), stub!\n", iface, index, debugstr_w(szName));

     if ((This->typeinfo->cElement >> 16) <= index) {
-	TRACE("Out-of-order element.");
+	TRACE("Out-of-order element.\n");
 	return TYPE_E_ELEMENTNOTFOUND;
     }

Index: dlls/rpcrt4/rpc_binding.c
===================================================================
RCS file: /home/cvs/wine/dlls/rpcrt4/rpc_binding.c,v
retrieving revision 1.18
diff -u -r1.18 rpc_binding.c
--- dlls/rpcrt4/rpc_binding.c	20 Jan 2004 23:36:50 -0000	1.18
+++ dlls/rpcrt4/rpc_binding.c	24 Jan 2004 16:31:17 -0000
@@ -1046,6 +1046,6 @@
   if (!protseq) return RPC_S_INVALID_RPC_PROTSEQ; /* ? */
   if (!strcmpW(protseq, ncalrpcW)) return RPC_S_OK;

-  FIXME("Unknown protseq %s - we probably need to implement it one day", debugstr_w(protseq));
+  FIXME("Unknown protseq %s - we probably need to implement it one day\n", debugstr_w(protseq));
   return RPC_S_PROTSEQ_NOT_SUPPORTED;
 }
Index: dlls/rpcrt4/rpc_server.c
===================================================================
RCS file: /home/cvs/wine/dlls/rpcrt4/rpc_server.c,v
retrieving revision 1.25
diff -u -r1.25 rpc_server.c
--- dlls/rpcrt4/rpc_server.c	9 Jan 2004 00:35:04 -0000	1.25
+++ dlls/rpcrt4/rpc_server.c	24 Jan 2004 16:31:17 -0000
@@ -687,7 +687,7 @@
  */
 RPC_STATUS WINAPI RpcServerUseProtseqA(LPSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 {
-  TRACE("(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_a(Protseq), MaxCalls, SecurityDescriptor);
+  TRACE("(Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)\n", debugstr_a(Protseq), MaxCalls, SecurityDescriptor);
   return RpcServerUseProtseqEpA(Protseq, MaxCalls, NULL, SecurityDescriptor);
 }

@@ -696,7 +696,7 @@
  */
 RPC_STATUS WINAPI RpcServerUseProtseqW(LPWSTR Protseq, unsigned int MaxCalls, void *SecurityDescriptor)
 {
-  TRACE("Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)", debugstr_w(Protseq), MaxCalls, SecurityDescriptor);
+  TRACE("Protseq == %s, MaxCalls == %d, SecurityDescriptor == ^%p)\n", debugstr_w(Protseq), MaxCalls, SecurityDescriptor);
   return RpcServerUseProtseqEpW(Protseq, MaxCalls, NULL, SecurityDescriptor);
 }

Index: dlls/setupapi/setupcab.c
===================================================================
RCS file: /home/cvs/wine/dlls/setupapi/setupcab.c,v
retrieving revision 1.4
diff -u -r1.4 setupcab.c
--- dlls/setupapi/setupcab.c	21 Oct 2003 23:45:43 -0000	1.4
+++ dlls/setupapi/setupcab.c	24 Jan 2004 16:31:17 -0000
@@ -312,7 +312,7 @@
     if (err == FILEOP_DOIT) {
       TRACE("  Callback specified filename: %s\n", debugstr_a(&(fici.FullTargetName[0])));
       if (!fici.FullTargetName[0]) {
-        WARN("  Empty return string causing abort.");
+        WARN("  Empty return string causing abort.\n");
         SetLastError(ERROR_PATH_NOT_FOUND);
         return -1;
       }
Index: dlls/shell32/changenotify.c
===================================================================
RCS file: /home/cvs/wine/dlls/shell32/changenotify.c,v
retrieving revision 1.28
diff -u -r1.28 changenotify.c
--- dlls/shell32/changenotify.c	22 Sep 2003 19:24:13 -0000	1.28
+++ dlls/shell32/changenotify.c	24 Jan 2004 16:31:18 -0000
@@ -331,7 +331,7 @@
         break;
     case SHCNF_PRINTERA:
     case SHCNF_PRINTERW:
-        FIXME("SHChangeNotify with (uFlags & SHCNF_PRINTER)");
+        FIXME("SHChangeNotify with (uFlags & SHCNF_PRINTER)\n");
         return;
     case SHCNF_DWORD:
     default:
Index: dlls/shell32/pidl.c
===================================================================
RCS file: /home/cvs/wine/dlls/shell32/pidl.c,v
retrieving revision 1.99
diff -u -r1.99 pidl.c
--- dlls/shell32/pidl.c	21 Jan 2004 23:50:26 -0000	1.99
+++ dlls/shell32/pidl.c	24 Jan 2004 16:31:18 -0000
@@ -124,7 +124,7 @@
 	      flag = SHGDN_INFOLDER;
 	      break;
 	    default:
-	      FIXME("Unknown type parameter = %lx", type);
+	      FIXME("Unknown type parameter = %lx\n", type);
 	      flag = SHGDN_FORPARSING | SHGDN_FORADDRESSBAR;
 	      break;
 	  }
Index: dlls/shell32/shlfileop.c
===================================================================
RCS file: /home/cvs/wine/dlls/shell32/shlfileop.c,v
retrieving revision 1.35
diff -u -r1.35 shlfileop.c
--- dlls/shell32/shlfileop.c	5 Jan 2004 21:13:37 -0000	1.35
+++ dlls/shell32/shlfileop.c	24 Jan 2004 16:31:20 -0000
@@ -445,7 +445,7 @@
 	    dwAttr = GetFileAttributesW(dest);
 	    if (dwAttr != -1)
 	    {
-	      FIXME("Rename on move to existing file not implemented!");
+	      FIXME("Rename on move to existing file not implemented!\n");
 	    }
 	  }
 	}
@@ -484,7 +484,7 @@
 	  DWORD dwAttr = GetFileAttributesW(dest);
 	  if (dwAttr != -1)
 	  {
-	    FIXME("Rename on copy to existing file not implemented!");
+	    FIXME("Rename on copy to existing file not implemented!\n");
 	  }
 	}
 	if (ret)
@@ -572,7 +572,7 @@
 	  /* handling network file names?
 	    lstrcpynW(pathName, path, MAX_PATH);
 	    lpStr = PathAddBackslashW(pathName);*/
-	    FIXME("Semi-stub, non zero hWnd should be used somehow?");
+	    FIXME("Semi-stub, non zero hWnd should be used somehow?\n");
 	  }
 	}
 	return ret;
Index: dlls/shell32/shlfsbind.c
===================================================================
RCS file: /home/cvs/wine/dlls/shell32/shlfsbind.c,v
retrieving revision 1.2
diff -u -r1.2 shlfsbind.c
--- dlls/shell32/shlfsbind.c	17 Sep 2003 04:17:33 -0000	1.2
+++ dlls/shell32/shlfsbind.c	24 Jan 2004 16:31:20 -0000
@@ -69,7 +69,7 @@
 	IFileSystemBindDataImpl *sb;
 	HRESULT ret = E_OUTOFMEMORY;

-	TRACE("%p, %p", pfd, ppV);
+	TRACE("%p, %p\n", pfd, ppV);

 	if (!ppV)
 	  return E_INVALIDARG;
@@ -108,7 +108,7 @@
 	IFileSystemBindData *pfsbd = NULL;
 	HRESULT ret;

-	TRACE("%p, %p", pbc, pfd);
+	TRACE("%p, %p\n", pbc, pfd);

 	if (!pfd)
 	  return E_INVALIDARG;
@@ -133,7 +133,7 @@
 	IFileSystemBindData *pfsbd = NULL;
 	HRESULT ret;

-	TRACE("%p, %p", pbc, pfd);
+	TRACE("%p, %p\n", pbc, pfd);

 	ret = IBindCtx_GetObjectParam(pbc, wFileSystemBindData, &pUnk);
 	if (SUCCEEDED(ret))
Index: dlls/shlwapi/ordinal.c
===================================================================
RCS file: /home/cvs/wine/dlls/shlwapi/ordinal.c,v
retrieving revision 1.75
diff -u -r1.75 ordinal.c
--- dlls/shlwapi/ordinal.c	1 Oct 2003 03:10:42 -0000	1.75
+++ dlls/shlwapi/ordinal.c	24 Jan 2004 16:31:20 -0000
@@ -1057,7 +1057,7 @@
 {
   WCHAR buff[2084];

-  TRACE("(%p,%ld)", lpszDest, dwDestLen);
+  TRACE("(%p,%ld)\n", lpszDest, dwDestLen);

   if (lpszDest && SHAboutInfoW(buff, dwDestLen))
   {
@@ -1103,7 +1103,7 @@
   HKEY hReg;
   DWORD dwType, dwLen;

-  TRACE("(%p,%ld)", lpszDest, dwDestLen);
+  TRACE("(%p,%ld)\n", lpszDest, dwDestLen);

   if (!lpszDest)
     return FALSE;
Index: dlls/shlwapi/reg.c
===================================================================
RCS file: /home/cvs/wine/dlls/shlwapi/reg.c,v
retrieving revision 1.45
diff -u -r1.45 reg.c
--- dlls/shlwapi/reg.c	18 Jan 2004 22:07:57 -0000	1.45
+++ dlls/shlwapi/reg.c	24 Jan 2004 16:31:21 -0000
@@ -2113,7 +2113,7 @@
  */
 int WINAPI SHRegGetIntW(HKEY hKey, LPCWSTR lpszValue, int iDefault)
 {
-  TRACE("(%p,%s,%d)", hKey, debugstr_w(lpszValue), iDefault);
+  TRACE("(%p,%s,%d)\n", hKey, debugstr_w(lpszValue), iDefault);

   if (hKey)
   {
Index: dlls/shlwapi/thread.c
===================================================================
RCS file: /home/cvs/wine/dlls/shlwapi/thread.c,v
retrieving revision 1.14
diff -u -r1.14 thread.c
--- dlls/shlwapi/thread.c	11 Sep 2003 02:56:15 -0000	1.14
+++ dlls/shlwapi/thread.c	24 Jan 2004 16:31:21 -0000
@@ -213,7 +213,7 @@
   HRESULT hCom = E_FAIL;
   DWORD dwRet;

-  TRACE("(%p)", pTi);
+  TRACE("(%p)\n", pTi);

   /* We are now executing in the context of the newly created thread.
    * So we copy the data passed to us (it is on the stack of the function
Index: dlls/user/exticon.c
===================================================================
RCS file: /home/cvs/wine/dlls/user/exticon.c,v
retrieving revision 1.30
diff -u -r1.30 exticon.c
--- dlls/user/exticon.c	10 Sep 2003 03:56:47 -0000	1.30
+++ dlls/user/exticon.c	24 Jan 2004 16:31:22 -0000
@@ -604,7 +604,7 @@

 	if ((nIcons & 1) && HIWORD(sizeX) && HIWORD(sizeY))
 	{
-	  WARN("Uneven number %d of icons requested for small and large icons!", nIcons);
+	  WARN("Uneven number %d of icons requested for small and large icons!\n", nIcons);
 	}
 	return ICO_ExtractIconExW(lpwstrFile, phicon, nIndex, nIcons, sizeX, sizeY, pIconId, flags);
 }
Index: dlls/user/resource.c
===================================================================
RCS file: /home/cvs/wine/dlls/user/resource.c,v
retrieving revision 1.20
diff -u -r1.20 resource.c
--- dlls/user/resource.c	6 Jan 2004 22:08:33 -0000	1.20
+++ dlls/user/resource.c	24 Jan 2004 16:31:22 -0000
@@ -280,7 +280,7 @@
        if( !(accel[i].fVirt & FVIRTKEY) ) {
 	  ckey = (char) lpaccel[i].key;
          if(!MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, &ckey, 1, &accel[i].key, 1))
-            WARN_(accel)("Error converting ASCII accelerator table to Unicode");
+            WARN_(accel)("Error converting ASCII accelerator table to Unicode\n");
        }
        else
          accel[i].key = lpaccel[i].key;
Index: dlls/wininet/urlcache.c
===================================================================
RCS file: /home/cvs/wine/dlls/wininet/urlcache.c,v
retrieving revision 1.16
diff -u -r1.16 urlcache.c
--- dlls/wininet/urlcache.c	31 Dec 2003 00:11:02 -0000	1.16
+++ dlls/wininet/urlcache.c	24 Jan 2004 16:31:26 -0000
@@ -1621,7 +1621,7 @@
     }
     else
     {
-        FIXME("need to generate a random filename");
+        FIXME("need to generate a random filename\n");
     }

     TRACE("File name: %s\n", szFile);
Index: dlls/winmm/winealsa/audio_05.c
===================================================================
RCS file: /home/cvs/wine/dlls/winmm/winealsa/audio_05.c,v
retrieving revision 1.7
diff -u -r1.7 audio_05.c
--- dlls/winmm/winealsa/audio_05.c	5 Sep 2003 23:08:27 -0000	1.7
+++ dlls/winmm/winealsa/audio_05.c	24 Jan 2004 16:31:28 -0000
@@ -267,7 +267,7 @@
     X(22050,2);
     X(44100,4);
 #undef X
-    if (chn_info.min_voices > 1) FIXME("-");
+    if (chn_info.min_voices > 1) FIXME("-\n");
     WOutDev[0].caps.wChannels = (chn_info.max_voices >= 2) ? 2 : 1;
     if (chn_info.min_voices <= 2 && 2 <= chn_info.max_voices)
         WOutDev[0].caps.dwSupport |= WAVECAPS_LRVOLUME;
Index: dlls/winmm/wineoss/audio.c
===================================================================
RCS file: /home/cvs/wine/dlls/winmm/wineoss/audio.c,v
retrieving revision 1.110
diff -u -r1.110 audio.c
--- dlls/winmm/wineoss/audio.c	20 Jan 2004 01:47:27 -0000	1.110
+++ dlls/winmm/wineoss/audio.c	24 Jan 2004 18:57:32 -0000
@@ -1918,7 +1918,7 @@
 	return MMSYSERR_NOTENABLED;
     }
     if (ioctl(mixer, SOUND_MIXER_READ_PCM, &volume) == -1) {
-	WARN("ioctl(%s, SOUND_MIXER_READ_PCM) failed (%s)n", WOutDev[wDevID].ossdev->mixer_name, strerror(errno));
+	WARN("ioctl(%s, SOUND_MIXER_READ_PCM) failed (%s)\n", WOutDev[wDevID].ossdev->mixer_name, strerror(errno));
 	return MMSYSERR_NOTENABLED;
     }
     close(mixer);
Index: dlls/wsock32/service.c
===================================================================
RCS file: /home/cvs/wine/dlls/wsock32/service.c,v
retrieving revision 1.3
diff -u -r1.3 service.c
--- dlls/wsock32/service.c	5 Sep 2003 23:08:26 -0000	1.3
+++ dlls/wsock32/service.c	24 Jan 2004 18:59:05 -0000
@@ -56,7 +56,7 @@
 INT WINAPI GetTypeByNameA(LPSTR lpServiceName, LPGUID lpServiceType)
 {
    /* tell the user they've got a substandard implementation */
-   FIXME("wsock32: GetTypeByNameA(%p, %p): stub/n", lpServiceName, lpServiceType);
+   FIXME("wsock32: GetTypeByNameA(%p, %p): stub\n", lpServiceName, lpServiceType);

    /* some programs may be able to compensate if they know what happened */
    SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
@@ -72,7 +72,7 @@
 INT WINAPI GetTypeByNameW(LPWSTR lpServiceName, LPGUID lpServiceType)
 {
     /* tell the user they've got a substandard implementation */
-    FIXME("wsock32: GetTypeByNameW(%p, %p): stub/n", lpServiceName, lpServiceType);
+    FIXME("wsock32: GetTypeByNameW(%p, %p): stub\n", lpServiceName, lpServiceType);

     /* some programs may be able to compensate if they know what happened */
     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
@@ -107,7 +107,7 @@
                        LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags)
 {
    /* tell the user they've got a substandard implementation */
-   FIXME("wsock32: SetServiceA(%lu, %lu, %lu, %p, %p, %p): stub/n", dwNameSpace, dwOperation, dwFlags,
+   FIXME("wsock32: SetServiceA(%lu, %lu, %lu, %p, %p, %p): stub\n", dwNameSpace, dwOperation, dwFlags,
            lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags);

    /* some programs may be able to compensate if they know what happened */
@@ -124,7 +124,7 @@
                        LPSERVICE_ASYNC_INFO lpServiceAsyncInfo, LPDWORD lpdwStatusFlags)
 {
    /* tell the user they've got a substandard implementation */
-   FIXME("wsock32: SetServiceW(%lu, %lu, %lu, %p, %p, %p): stub/n", dwNameSpace, dwOperation, dwFlags,
+   FIXME("wsock32: SetServiceW(%lu, %lu, %lu, %p, %p, %p): stub\n", dwNameSpace, dwOperation, dwFlags,
            lpServiceInfo, lpServiceAsyncInfo, lpdwStatusFlags);

    /* some programs may be able to compensate if they know what happened */
Index: dlls/wsock32/socket.c
===================================================================
RCS file: /home/cvs/wine/dlls/wsock32/socket.c,v
retrieving revision 1.29
diff -u -r1.29 socket.c
--- dlls/wsock32/socket.c	28 Nov 2003 23:12:05 -0000	1.29
+++ dlls/wsock32/socket.c	24 Jan 2004 16:31:31 -0000
@@ -134,7 +134,7 @@
       if (pcommand->toi_class != INFO_CLASS_GENERIC &&
        pcommand->toi_class != INFO_CLASS_PROTOCOL)
       {
-         ERR("Unexpected class %ld for WSCNTL_TCPIP_QUERY_INFO",
+         ERR("Unexpected class %ld for WSCNTL_TCPIP_QUERY_INFO\n",
           pcommand->toi_class);
          return ERROR_BAD_ENVIRONMENT;
       }
@@ -157,7 +157,7 @@
                return ERROR_BAD_ENVIRONMENT;
             if (pcommand->toi_class != INFO_CLASS_GENERIC)
             {
-               FIXME ("Unexpected Option for ENTITY_LIST_ID request -> toi_class=0x%lx",
+               FIXME ("Unexpected Option for ENTITY_LIST_ID request -> toi_class=0x%lx\n",
                     pcommand->toi_class);
                return (ERROR_BAD_ENVIRONMENT);
             }
@@ -375,7 +375,7 @@
                break;

             default:
-               ERR("Unknown entity %ld for ENTITY_TYPE_ID query",
+               ERR("Unknown entity %ld for ENTITY_TYPE_ID query\n",
                 pcommand->toi_entity.tei_entity);
          }
          break;
Index: dlls/x11drv/xrandr.c
===================================================================
RCS file: /home/cvs/wine/dlls/x11drv/xrandr.c,v
retrieving revision 1.3
diff -u -r1.3 xrandr.c
--- dlls/x11drv/xrandr.c	21 Nov 2003 21:50:59 -0000	1.3
+++ dlls/x11drv/xrandr.c	24 Jan 2004 19:01:04 -0000
@@ -172,7 +172,7 @@
     }
     if (stat != RRSetConfigSuccess)
     {
-        ERR("Resolution change not successful -- perhaps display has chaned?");
+        ERR("Resolution change not successful -- perhaps display has changed?\n");
     }
     XRRFreeScreenConfigInfo(sc);
     wine_tsx11_unlock();
Index: windows/user.c
===================================================================
RCS file: /home/cvs/wine/windows/user.c,v
retrieving revision 1.97
diff -u -r1.97 user.c
--- windows/user.c	17 Nov 2003 20:31:29 -0000	1.97
+++ windows/user.c	24 Jan 2004 16:27:48 -0000
@@ -541,7 +541,7 @@
         FIXME_(local)("return a pointer to the first window class.\n");
         return (DWORD)-1;
     default:
-        WARN_(local)("wReqType %04x (unknown)", wReqType);
+        WARN_(local)("wReqType %04x (unknown)\n", wReqType);
         return (DWORD)-1;
     }
 }



-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
  Any sufficiently advanced Operating System is indistinguishable from Linux



More information about the wine-patches mailing list