Piotr Caban : msvcrt/tests: Fix _popen test failures when path contains spaces.
Alexandre Julliard
julliard at winehq.org
Mon Apr 21 12:36:55 CDT 2014
Module: wine
Branch: master
Commit: 1d865f90d6b2223eca48128ac93968ce8f3a0005
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1d865f90d6b2223eca48128ac93968ce8f3a0005
Author: Piotr Caban <piotr at codeweavers.com>
Date: Mon Apr 21 14:07:49 2014 +0200
msvcrt/tests: Fix _popen test failures when path contains spaces.
---
dlls/msvcrt/tests/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/tests/misc.c b/dlls/msvcrt/tests/misc.c
index 3a72e68..523d277 100644
--- a/dlls/msvcrt/tests/misc.c
+++ b/dlls/msvcrt/tests/misc.c
@@ -327,7 +327,7 @@ static void test__popen(const char *name)
char buf[1024];
int ret;
- sprintf(buf, "%s misc popen", name);
+ sprintf(buf, "\"%s\" misc popen", name);
pipe = _popen(buf, "r");
ok(pipe != NULL, "_popen failed with error: %d\n", errno);
More information about the wine-cvs
mailing list