Sophie

Sophie

distrib > Mageia > 5 > i586 > by-pkgid > 3d068beb5fc0f17f0e7e4c7361c399a4 > files > 4

mingw-glib2-2.38.2-3.mga5.src.rpm

--- 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 {