[mingw-glib2] Missing patch

Erik van Pienbroek epienbro at fedoraproject.org
Thu Jan 3 09:57:54 UTC 2013


commit d2262b6ca2230b2dc169aa4798b59e645859a195
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Thu Jan 3 10:57:44 2013 +0100

    Missing patch

 ...log-messages-to-correct-stdout-and-stderr.patch |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/glib-send-log-messages-to-correct-stdout-and-stderr.patch b/glib-send-log-messages-to-correct-stdout-and-stderr.patch
new file mode 100644
index 0000000..3052d41
--- /dev/null
+++ b/glib-send-log-messages-to-correct-stdout-and-stderr.patch
@@ -0,0 +1,11 @@
+--- glib/gmessages.c.orig	2013-01-02 01:35:51.326148960 +0100
++++ glib/gmessages.c	2013-01-02 01:36:28.467415487 +0100
+@@ -823,7 +823,7 @@
+   if ((log_level & G_LOG_FLAG_FATAL) != 0 && !g_test_initialized ())
+     win32_keep_fatal_message = TRUE;
+ #endif
+-  return to_stdout ? 1 : 2;
++  return to_stdout ? fileno(stdout) : fileno(stderr);
+ }
+ 
+ typedef struct {


More information about the scm-commits mailing list