shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000.

Francois Gouget fgouget at codeweavers.com
Mon Apr 2 12:20:29 CDT 2007


---
This fixes 20 conformance test errors on Windows >= 2000.

 dlls/shell32/tests/shlexec.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index cae41bf..580cdfd 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -347,15 +347,15 @@ static void doChild(int argc, char** argv)
         return;
 
     /* Arguments */
-    childPrintf(hFile, "[Arguments]\n");
+    childPrintf(hFile, "[Arguments]\r\n");
     if (winetest_debug > 2)
         trace("argcA=%d\n", argc);
-    childPrintf(hFile, "argcA=%d\n", argc);
+    childPrintf(hFile, "argcA=%d\r\n", argc);
     for (i = 0; i < argc; i++)
     {
         if (winetest_debug > 2)
             trace("argvA%d=%s\n", i, argv[i]);
-        childPrintf(hFile, "argvA%d=%s\n", i, encodeA(argv[i]));
+        childPrintf(hFile, "argvA%d=%s\r\n", i, encodeA(argv[i]));
     }
     CloseHandle(hFile);
 
-- 
1.4.4.4




More information about the wine-patches mailing list