default console handle (StdError)

Eric Pouech pouech-eric at wanadoo.fr
Thu Sep 18 14:22:28 CDT 2003


A+
-- 
Eric Pouech
-------------- next part --------------
Name:          conerr
ChangeLog:     set default StdError to fd 2 (was on 1)
License:       X11
GenDate:       2003/09/18 19:20:34 UTC
ModifiedFiles: dlls/kernel/process.c
===================================================================
RCS file: /home/cvs/cvsroot/wine/wine/dlls/kernel/process.c,v
retrieving revision 1.5
diff -u -u -r1.5 process.c
--- dlls/kernel/process.c	17 Sep 2003 05:31:33 -0000	1.5
+++ dlls/kernel/process.c	18 Sep 2003 18:37:57 -0000
@@ -337,7 +340,7 @@
 	 */
         wine_server_fd_to_handle( 0, GENERIC_READ|SYNCHRONIZE,  TRUE, &process_pmts.hStdInput );
         wine_server_fd_to_handle( 1, GENERIC_WRITE|SYNCHRONIZE, TRUE, &process_pmts.hStdOutput );
-        wine_server_fd_to_handle( 1, GENERIC_WRITE|SYNCHRONIZE, TRUE, &process_pmts.hStdError );
+        wine_server_fd_to_handle( 2, GENERIC_WRITE|SYNCHRONIZE, TRUE, &process_pmts.hStdError );
     }
     else
     {


More information about the wine-patches mailing list