Alexandre Julliard : winetest: Capture the Win32 stderr into the log file too.
Alexandre Julliard
julliard at winehq.org
Wed Nov 19 08:34:59 CST 2008
Module: wine
Branch: master
Commit: db8783e724d8ce3b942b7676043613e62b17acb9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=db8783e724d8ce3b942b7676043613e62b17acb9
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Nov 19 12:19:22 2008 +0100
winetest: Capture the Win32 stderr into the log file too.
---
programs/winetest/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/programs/winetest/main.c b/programs/winetest/main.c
index 86035f0..7ed848b 100644
--- a/programs/winetest/main.c
+++ b/programs/winetest/main.c
@@ -271,7 +271,7 @@ run_ex (char *cmd, HANDLE out_file, const char *tempdir, DWORD ms)
si.dwFlags = STARTF_USESTDHANDLES;
si.hStdInput = GetStdHandle( STD_INPUT_HANDLE );
si.hStdOutput = out_file ? out_file : GetStdHandle( STD_OUTPUT_HANDLE );
- si.hStdError = GetStdHandle( STD_ERROR_HANDLE );
+ si.hStdError = out_file ? out_file : GetStdHandle( STD_ERROR_HANDLE );
if (!CreateProcessA (NULL, cmd, NULL, NULL, TRUE, CREATE_DEFAULT_ERROR_MODE,
NULL, tempdir, &si, &pi)) {
More information about the wine-cvs
mailing list