Debug message fix in msvcrt._wsplitpath

Sylvain Petreolle spetreolle at yahoo.fr
Wed Mar 26 19:58:23 CST 2003


Changelog:
_wsplitpath : Display correctly the path being splitted when TRACE is
on.

Index: dir.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/dir.c,v
retrieving revision 1.17
diff -u -r1.17 dir.c
--- dir.c       19 Feb 2003 03:43:08 -0000      1.17
+++ dir.c       27 Mar 2003 01:54:25 -0000
@@ -433,9 +433,9 @@
   MSVCRT_wchar_t ch, *ptr, *p;
   MSVCRT_wchar_t pathbuff[MAX_PATH],*path=pathbuff;

-  TRACE(":splitting path %s\n",debugstr_w(path));
   /* FIXME: Should be an strncpyW or something */
   strcpyW(pathbuff, inpath);
+  TRACE(":splitting path %s\n",debugstr_w(path));

   /* convert slashes to backslashes for searching */
   for (ptr = (MSVCRT_wchar_t*)path; *ptr; ++ptr)


=====
Sylvain Petreolle (spetreolle at users dot sourceforge dot net) ICQ #170597259
No more War !

"What if tomorrow the War could be over ?" Morpheus, in "Reloaded".

For the Law of Oil and Fire, Im an European that lives in France.
For all my Brothers and friends, Im a human living on Earth.

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-patches mailing list