Sebastian Herbszt wrote:
--- v0.11.0-rc0-201-gd9c3231/vl.c.orig Sun Aug 9 11:52:47 2009
+++ v0.11.0-rc0-201-gd9c3231/vl.c Sun Aug 9 11:58:59 2009
@@ -4873,6 +4873,12 @@
CPUState *env;
int show_vnc_port = 0;
+/* Work around stdio redirection by SDL on Windows */
+#if defined (CONFIG_SDL) && defined (_WIN32)
+ freopen("CON", "wb", stdout);
+ freopen("CON", "wb", stderr);
+#endif
+
That will not work in RXVT, SSH consoles and for pipes unfortunately
:-/ Also it won't respect the redirections specified on command line,
which is something I often use, therefore I object to this patch. It's
better to use SDL compiled with the --enable-stdio-redirect=no option.