mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-27 17:52:58 +02:00
2003-01-01 Tor Lillqvist <tml@iki.fi> * glib/gmessages.c (ensure_stderr_valid): New function, parallel to ensure_stdout_valid(). #defined as empty on Unix. Move the alloc_console_called static flag inside these two functions. (mklevel_prefix): Do use either stderr or stdout on Windows, too. Otherwise g_warning() messages (that are just warnings, by definition) will get mixed with proper stdout output. Noticed in GIMP's gimpconfig-dump. (strdup_convert, mklevel_prefix, g_printerr): Call ensure_stderr_valid() before trying to use stderr. (g_logv): [Win32] Convert message to current codepage before display with MessageBox(). 2003-01-01 Tor Lillqvist <tml@iki.fi> * glib/tmpl/messages.sgml (g_log_default_handler): Remove note that only stdout would be used on Windows, no longer true.