Mikolaj Zalewski : kernel32/tests: Support for spaces in actctx test executable path.

Alexandre Julliard julliard at winehq.org
Thu Oct 18 07:59:35 CDT 2007


Module: wine
Branch: master
Commit: ba24af0c3445c117c011c3e0c500a7cc7d3e9c4e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ba24af0c3445c117c011c3e0c500a7cc7d3e9c4e

Author: Mikolaj Zalewski <mikolajz at google.com>
Date:   Wed Oct 17 11:38:55 2007 -0700

kernel32/tests: Support for spaces in actctx test executable path.

---

 dlls/kernel32/tests/actctx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/kernel32/tests/actctx.c b/dlls/kernel32/tests/actctx.c
index 0593909..d04e9ce 100644
--- a/dlls/kernel32/tests/actctx.c
+++ b/dlls/kernel32/tests/actctx.c
@@ -995,7 +995,7 @@ static void run_child_process(void)
 
     si.cb = sizeof(si);
     winetest_get_mainargs( &argv );
-    sprintf(cmdline, "%s %s manifest1", argv[0], argv[1]);
+    sprintf(cmdline, "\"%s\" %s manifest1", argv[0], argv[1]);
     ok(CreateProcess(argv[0], cmdline, NULL, NULL, FALSE, 0, NULL, NULL,
                      &si, &pi) != 0, "Could not create process: %u\n", GetLastError());
     CloseHandle(pi.hThread);




More information about the wine-cvs mailing list